UNPKG

react-pkce-oauth2

Version:

Plug-and-play react package for OAuth2 Authorization Code flow with PKCE

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