IClientFacade.IsSecretValid Method
Checks if the provided client secret is valid.
Remarks
This method is called when an OAuth 2 client authentication is performed. The client secret is sent by the client in string format, and this method should return true if the provided secret is valid for this client, or false if the secret is invalid and thus the authentication should be rejected.
Syntax
Unit: Sphinx.ClientFacade
function IClientFacade.IsSecretValid(const Secret: string): Boolean; virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | Secret | string |