Auth

let auth = store.auth;

methods → AuthMethods

let methods = store.auth.methods;
methods.anonymous // → AuthAnonymousMethod

user → AuthUser | null

Returns currently logged-in AuthUser instance or null of user is not logged in.

signOut() → Promise

Signs out currently logged in user.

await store.auth.signOut();
store.auth.user // → null