TOidcClient.IsValidCallback Method
Returns True if the given URL is a valid authorization callback for a pending flow.
Syntax
Unit: Sphinx.OidcClient
function TOidcClient.IsValidCallback(const CallbackUrl: string): Boolean; overload;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | CallbackUrl | string | The URL to test. |
Returns
True if the URL matches the configured RedirectUri and contains a recognized state parameter; False otherwise.