UNPKG

whodis-react

Version:

React hooks and components for secure, best practices authentication in seconds

11 lines (10 loc) 313 B
import { WhodisAuthTokenStorage } from '../../domain/WhodisAuthTokenStorage'; /** * enables forgetting the current authentication token, logging the user out * * usecases * - logout */ export declare const forgetAuthenticationToken: ({ storage, }: { storage: WhodisAuthTokenStorage; }) => Promise<void>;