tibemsOAuth2Params_SetClientSecret
Function
Purpose
Set the OAuth 2.0 client secret in the OAuth 2.0 parameter object.
C Declaration
tibems_status tibemsOAuth2Params_SetClientSecret( tibemsOAuth2Params params, const char* clientSecret );
IBM Systems
This function is not supported on z/OS and IBM i systems.
Parameters
Parameter | Description |
---|---|
params
|
Set the value in this OAuth 2.0 parameter object. |
clientSecret |
The OAuth 2.0 client secret to use. |
Remarks
The OAuth 2.0 client secret must be set in order to successfully request access tokens from an OAuth 2.0 authorization server using an OAuth 2.0 grant. The value set via this function should correspond to the OAuth 2.0 client ID set via tibemsOAuth2Params_SetClientID
.