ClientSecret Property
The secret value for the client assigned when registering the application.
Syntax
ANSI (Cross Platform) char* GetClientSecret();
int SetClientSecret(const char* lpszClientSecret); Unicode (Windows) LPWSTR GetClientSecret();
INT SetClientSecret(LPCWSTR lpszClientSecret);
@property (nonatomic,readwrite,assign,getter=clientSecret,setter=setClientSecret:) NSString* clientSecret; - (NSString*)clientSecret; - (void)setClientSecret:(NSString*)newClientSecret;
#define PID_OAUTH_CLIENTSECRET 6 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 holds the secret of the client that was assigned when initially registering the application with the authorization server. This value must be specified before calling GetAuthorization or GetAuthorizationURL.
Data Type
String