SwoffSwoff

clearAuth

Clear auth from memory, IndexedDB, and SW caches.

clearAuth(options?)

From swoff/auth/store.ts.

OptionTypeDefaultDescription
broadcastbooleantrueDispatch AUTH_CLEARED to SW
import { clearAuth } from "swoff/auth/store";

await clearAuth();

On this page