import { validateDetachedSignatureResponse } from "https://deno.land/x/oauth4webapi@v2.11.1/src/index.ts";
Same as validateAuthResponse but for FAPI 1.0 Advanced Detached Signature authorization responses.
Parameters
Authorization Server Metadata.
client: Client
Client Metadata.
parameters: URLSearchParams | URL
Authorization Response parameters as URLSearchParams or an instance of URL with parameters in a fragment/hash.
Expected state
parameter value. Default is expectNoState.
ID Token IDToken.auth_time | auth_time
claim value will be checked to be
present and conform to the maxAge
value. Use of this option is required if you sent a
max_age
parameter in an authorization request. Default is
Client.default_max_age | client.default_max_age
and falls back to
skipAuthTimeCheck.
optional
options: ValidateDetachedSignatureResponseOptionsReturns
Promise<URLSearchParams | OAuth2Error>
Validated Authorization Response parameters or Authorization Error Response.