Variable checkTokenRequest
checkTokenRequest : ( opts : any , ) => | { description : string ; error : string ; errorCode : string ; ok : boolean ; requirement : string ; } | { description ?: undefined ; error ?: undefined ; errorCode ?: undefined ; ok : boolean ; requirement ?: undefined ; } = checkTokenRequest
Type Declaration
( opts : any , ) : | { description : string ; error : string ; errorCode : string ; ok : boolean ; requirement : string ; } | { description ?: undefined ; error ?: undefined ; errorCode ?: undefined ; ok : boolean ; requirement ?: undefined ; }
Returns | { description : string ; error : string ; errorCode : string ; ok : boolean ; requirement : string ; } | { description ?: undefined ; error ?: undefined ; errorCode ?: undefined ; ok : boolean ; requirement ?: undefined ; } { ok: true }, or { ok: false, errorCode, error, requirement, description }
Defined in oauth-oidc/oauth2_bcp.js:4936
Checks a code redemption: the code was issued to this client with this redirect_uri (in every mode), and in RFC 9700 mode no
code_verifieris smuggled in where no challenge was made.