UNPKG

whodis-react

Version:

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

11 lines (10 loc) 363 B
import { WhodisAuthTokenClaims } from 'whodis-client'; import { WhodisAuthTokenStorage } from '../../domain/WhodisAuthTokenStorage'; /** * internal use only * * use case: you need to know the claims of the token */ export declare const getAuthableTokenClaims: ({ storage, }: { storage: WhodisAuthTokenStorage; }) => Promise<WhodisAuthTokenClaims | null>;