OAuthHandlers.refresh()
Home > @backstage/plugin-auth-backend
> OAuthHandlers
> refresh
(Optional) Given a refresh token and scope fetches a new access token from the auth provider.
Signature:
refresh?(req: OAuthRefreshRequest): Promise<{
response: OAuthResponse;
refreshToken?: string;
}>;
Parameters
Parameter |
Type |
Description |
---|---|---|
req |
Promise<{ response: OAuthResponse; refreshToken?: string; }>