UNPKG

react-oauth2-code-pkce

Version:

Provider agnostic react package for OAuth2 Authorization Code flow with PKCE

5 lines (4 loc) 324 B
import type { IAuthContext, IAuthProvider } from './types'; export declare const DEFAULT_CONTEXT_TOKEN = "DEFAULT_CONTEXT_TOKEN"; export declare const AuthContext: import("react").Context<IAuthContext>; export declare const AuthProvider: ({ authConfig, children }: IAuthProvider) => import("react/jsx-runtime").JSX.Element;