API Reference > backend-itwin-client > Authentication > AgentAuthorizationClient > getToken getToken Method Deprecated Use AgentAuthorizationClient.getAccessToken instead. Get the access token getToken(requestContext: ClientRequestContext): Promise<AccessToken> Parameter Type Description requestContext ClientRequestContext Returns - Promise<AccessToken> Defined in core/backend-itwin-client/src/oidc/AgentAuthorizationClient.ts Line 87 Last Updated: 12 June, 2024