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_OAUTH_ACCESSTOKEN 1 CLOUDMAIL_EXTERNAL void* CLOUDMAIL_CALL CloudMail_OAuth_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); CLOUDMAIL_EXTERNAL int CLOUDMAIL_CALL CloudMail_OAuth_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