Validates that the request is form-urlencoded" POST and then uses the
grant_type parameter to pick the right flow
Returns Promise<void>
handleAuthorizationCode
handleAuthorizationCode(): Promise<void>
Handles the common authorization requests. Parses and validates
token from request.body.code and eventually calls this.finish() with it.
Returns Promise<void>
handleRefreshToken
handleRefreshToken(): void
Handles the refresh_token authorization requests. Parses and validates
token from request.body.refresh_token and eventually calls this.finish()
with it.
Returns void
Statichandle
handle(req, res): Promise<void>
This is the typical public static entry point designed to be easy to use
as route handler.
Generates and sends the response