refreshToken Method

Deprecated  Use AgentAuthorizationClient.getAccessToken instead to always get a valid token.

Refresh the access token - simply checks if the token is still valid before re-fetching a new access token

refreshToken(requestContext: ClientRequestContext, jwt: AccessToken): Promise<AccessToken>

Parameter Type Description
requestContext ClientRequestContext  
jwt AccessToken  

Returns - Promise<AccessToken>

Defined in

Last Updated: 11 June, 2024