API Reference > imodeljs-frontend > Authentication > IOidcFrontendClient > onUserStateChanged onUserStateChanged Readonly onUserStateChanged: BeEvent<(token: undefined | AccessToken) => void> Event called when the user's sign-in state changes see IOidcFrontendClient.getAccessToken Defined in core/frontend/src/oidc/OidcFrontendClient.ts Line 48 Last Updated: 12 June, 2024