UNPKG

react-auth-verification-context

Version:

react-auth-verification-context is a library that provides a way to manage authentication state in a React application. It is implemented using the React context API, which allows you to pass data through the component tree without having to pass props do

8 lines (7 loc) 495 B
declare const signIn: (email: string, password: string) => Promise<boolean>; declare const signUp: (username: string, password: string) => Promise<boolean>; declare const confirmSignUp: (email: string, code: string) => Promise<boolean>; declare const signOut: () => Promise<boolean>; declare const checkAuth: () => Promise<boolean>; declare const resendVerificationCode: (email: string) => Promise<boolean>; export { signIn, signOut, checkAuth, signUp, confirmSignUp, resendVerificationCode, };