getAccessToken Method

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

getAccessToken(additionalHeaders?: [key: string]: string): Promise<string>

Parameter Type Description
additionalHeaders [key: string]: string headers that will be added to requests to the authorization server

Returns - Promise

Defined in

Last Updated: 27 October, 2025