getOauthClientSecret

Syntax

getOauthClientSecret()

Details

Retrieve the value of the oauthClientSecret configuration item used for Single Sign-On (SSO). This function can only be executed by administrators.

When configuration access control (enableConfigAccessControl=true) is enabled, the sensitive configration item oauthClientSecret cannot be directly read using getConfig. Administrators can call this function to securely retrieve the configuration value.

Returns

Return a string representing the current configured oauthClientSecret value.