IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

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

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_OAuth_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_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

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