UNPKG

@reactit/auth

Version:

The ultimate token basted authentication solution for React

5 lines (4 loc) 281 B
/// <reference types="react" /> import { AuthContext } from './types'; export declare const _AuthContext: import("react").Context<AuthContext<any, any, any, any> | undefined>; export declare function useAuthContext<U, SI = any, RF = void, SO = void>(): AuthContext<U, SI, RF, SO>;