Properties
// Quick read of current state
console.log(tiun.isAuthenticated);
console.log(tiun.user);
// Keep your UI in sync with events
tiun.on('userChange', (data) => {
myState.isAuthenticated = data.isAuthenticated;
myState.user = data.user;
});Reference
Property
Type
Description
Last updated
Was this helpful?