live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/auth-client


@orangecheck/auth-client / OcSignOutScope

Type Alias: OcSignOutScope

type OcSignOutScope = "all" | "current";

Defined in: types.ts:135

Scope hint for signOut() in a multi-account browser.

  • 'all' · sign out of every account in this browser's roster (the default; matches the historical single-account behavior of "clear the cookie").
  • 'current' · sign out of just the active account; if the roster has other accounts, the auth host hands you off to the next-most-recent one without a re-auth.