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  

Defined in

Last Updated: 10 September, 2019