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

Last Updated: 13 June, 2024