tibemsOAuth2Params_SetServerURL

Function

Purpose

Set the HTTP or HTTPS URL of the OAuth 2.0 authorization server that will issue the OAuth 2.0 access tokens.

C Declaration

tibems_status tibemsOAuth2Params_SetServerURL(
    tibemsOAuth2Params params,
    const char* url );

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.
url The URL of the OAuth 2.0 authorization server.

Remarks

If the value set via this function is an HTTPS URL, the OAuth 2.0 authorization server is considered to be secure. A trust file must be set in order to connect to a secure authorization server.

See Also

TIBEMS_OAUTH2_SERVER_URL

tibemsOAuth2Params_SetServerTrustFile