tibemsOAuth2Params_SetServerTrustFile
Function
Purpose
Set the trust file used to verify the identity of the secure OAuth 2.0 authorization server.
C Declaration
tibems_status tibemsOAuth2Params_SetServerTrustFile( tibemsOAuth2Params params, const char* path );
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. |
path |
The path to the trust file to be used to validate the OAuth 2.0 authorization server. |
Remarks
The trust file specified via this function must contain one or more PEM-encoded public certificates that will be used to validate the certificate presented by the secure OAuth 2.0 authorization server host.
The trust file does not need to be set if connecting to an OAuth 2.0 authorization server with an HTTP URL.