API Reference > imodeljs-clients > Authentication > IAuthorizationClient IAuthorizationClient Interface Beta Interface to provide authorization information for various API Methods Name Description getAccessToken(requestContext?: ClientRequestContext): Promise<AccessToken> Returns a promise that resolves to the AccessToken of the currently authorized user Properties Name Type Description hasExpired boolean Set to true if the user has signed in, but the token has expired and requires a refresh hasSignedIn boolean Set to true if signed in - the accessToken may be active or may have expired and require a refresh isAuthorized boolean Set to true if there's a current authorized user or client (in the case of agent applications). Defined in core/clients/src/AuthorizationClient.ts Line 15 Last Updated: 13 June, 2024