Skip to content

validateBearerTokenResponse

validateBearerTokenResponse(response): asserts response is ValidTokenResponse

Defined in: src/oauth/authorize.ts:62

Validate the given response matches the format expected for a ValidTokenResponse

unknown

the response to validate

asserts response is ValidTokenResponse

if the response does not match the expected format