Type alias AuthSession

AuthSession: {
    session: Readonly<Ref<Session>>;
    signOut: (() => ReturnType<ScuteClient["signOut"]>);
} & ({
    isAuthenticated: ComputedRef<false>;
    isLoading: ComputedRef<false>;
    user: Readonly<Ref<null>>;
} | {
    isAuthenticated: ComputedRef<false>;
    isLoading: ComputedRef<true>;
    user: Readonly<Ref<null>>;
} | {
    isAuthenticated: ComputedRef<true>;
    isLoading: ComputedRef<false>;
    user: Readonly<Ref<ScuteUser>>;
})

Type declaration

  • session: Readonly<Ref<Session>>
  • signOut: (() => ReturnType<ScuteClient["signOut"]>)
      • (): ReturnType<ScuteClient["signOut"]>
      • Returns ReturnType<ScuteClient["signOut"]>

Generated using TypeDoc