buildRefreshRequest
buildRefreshRequest(
discovery,config,refreshToken):HttpRequest
Defined in: packages/core/src/token.ts:55
Builds an HTTP request to refresh an access token using a refresh token (RFC 6749 §6).
Parameters
Section titled “Parameters”discovery
Section titled “discovery”The OIDC discovery document containing the token endpoint.
config
Section titled “config”Client configuration (clientId, optional clientSecret).
refreshToken
Section titled “refreshToken”string
The refresh token previously issued by the authorization server.
Returns
Section titled “Returns”An HttpRequest ready to be sent to the token endpoint.