getAccessToken Method

Returns a promise that resolves to the AccessToken of the currently authorized client. The token is refreshed if necessary.

getAccessToken(requestContext?: ClientRequestContext): Promise<AccessToken>

Parameter Type Description
requestContext ClientRequestContext  

Returns - Promise<AccessToken>

Defined in

Last Updated: 11 June, 2024