Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.8 KB

processRefreshTokenResponse.md

File metadata and controls

33 lines (21 loc) · 1.8 KB

Function: processRefreshTokenResponse()

💗 Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


processRefreshTokenResponse(as, client, response): Promise<TokenEndpointResponse | OAuth2Error>

Validates Refresh Token Grant Response instance to be one coming from the as.token_endpoint.

Parameters

Parameter Type Description
as AuthorizationServer Authorization Server Metadata.
client Client Client Metadata.
response Response Resolved value from refreshTokenGrantRequest.

Returns

Promise<TokenEndpointResponse | OAuth2Error>

Resolves with an object representing the parsed successful response, or an object representing an OAuth 2.0 protocol style error. Use isOAuth2Error to determine if an OAuth 2.0 error was returned.

See