API Reference > imodeljs-frontend > OIDC > OidcBrowserClient > onUserStateChanged onUserStateChanged onUserStateChanged: BeEvent<(token: AccessToken | undefined) => void> = new BeEvent<(token: AccessToken | undefined) => void>() Event called when the user's sign-in state changes - this may be due to calls to signIn(), signOut(), if the token expired, or if the token was silently refreshed. Defined in core/frontend/src/oidc/OidcBrowserClient.ts Line 249 Last Updated: 13 June, 2024