tibemsOAuth2Params_SetClientID
Function
Purpose
Set the OAuth 2.0 client ID in the OAuth 2.0 parameter object.
C Declaration
tibems_status tibemsOAuth2Params_SetClientID( tibemsOAuth2Params params, const char* clientId );
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. |
clientId |
The OAuth 2.0 client ID to use. |
Remarks
The OAuth 2.0 client ID 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 secret set via tibemsOAuth2Params_SetClientSecret
.