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

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_OAuth_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_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

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