UNPKG

react-oauth2-code-pkce

Version:

Provider agnostic react package for OAuth2 Authorization Code flow with PKCE

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