ChallengeToken Property

The challenge token.

Syntax

ANSI (Cross Platform)
int GetChallengeToken(char* &lpChallengeToken, int &lenChallengeToken);
int SetChallengeToken(const char* lpChallengeToken, int lenChallengeToken); Unicode (Windows) INT GetChallengeToken(LPSTR &lpChallengeToken, INT &lenChallengeToken);
INT SetChallengeToken(LPCSTR lpChallengeToken, INT lenChallengeToken);
@property (nonatomic,readwrite,assign,getter=challengeToken,setter=setChallengeToken:) NSString* challengeToken;
- (NSString*)challengeToken;
- (void)setChallengeToken:(NSString*)newChallengeToken;

@property (nonatomic,readwrite,assign,getter=challengeTokenB,setter=setChallengeTokenB:) NSData* challengeTokenB; - (NSData*)challengeTokenB; - (void)setChallengeTokenB:(NSData*)newChallengeToken;
#define PID_NTLM_CHALLENGETOKEN 2

IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_NTLM_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_NTLM_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property specifies the challenge token. This must be set to the challenge token received from the server before calling CreateAuthToken.

Note: By default the class expects the token to be Base64 encoded. To provide a raw value to this property first set DecodeToken to False.

Data Type

Binary String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 C++ Edition - Version 20.0 [Build 8155]