AccessToken Property

The access token returned by the authorization server.

Syntax

ANSI (Cross Platform)
char* GetAccessToken();
int SetAccessToken(const char* lpszAccessToken); Unicode (Windows) LPWSTR GetAccessToken();
INT SetAccessToken(LPCWSTR lpszAccessToken);
@property (nonatomic,readwrite,assign,getter=accessToken,setter=setAccessToken:) NSString* accessToken;
- (NSString*)accessToken;
- (void)setAccessToken:(NSString*)newAccessToken;
#define PID_OPENID_ACCESSTOKEN 1

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

Default Value

""

Remarks

This property will be populated with the access token returned by the authorization server after a call to GetAuthorization. This will be the raw access token, whereas the return value from the GetAuthorization method will also include the required data so it can be passed directly to the Authorization property of the components or added as the value of the Authorization header in another client implementation.

Data Type

String

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