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