onUserStateChanged Readonly

onUserStateChanged: BeEvent<(token: undefined | AccessToken) => 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: 12 June, 2024