@romain-faust/sign-in-with-email-and-password
Generic set of tools related to email and password connection.
Installation
With NPM:
npm install @romain-faust/sign-in-with-email-and-password
With PNPM:
pnpm add @romain-faust/sign-in-with-email-and-password
With Yarn:
yarn add @romain-faust/sign-in-with-email-and-password
Dependencies
- rxjs (^7.5.7)
Usage
import type { SignInWithEmailAndPassword } from '@romain-faust/sign-in-with-email-and-password'
const SignInWithEmailAndPasswordForm = () => {
const signInWithEmailAndPassword: SignInWithEmailAndPassword = getSignInWithEmailAndPassword()
const handleFormSubmit = () => {
signInWithEmailAndPassword('email@example.com', '••••••').subscribe()
}
// ...
}