1.1.7 • Published 2 years ago

firebase-login-manager v1.1.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

firebase-login-manager

A login manager to handle the state of the user in a firebase website.

Usage

Construct the LoginManager at a high-level in your application. The first constructor parameter is handleRedirects. Set it to true for your main login manager to handle email/federated logins with that login manager. The second parameter is toastRelay which is optional and comes from react-root-overlays package.

The public functions of the LoginManager are:

async awaitUser: returns the user or null. addListener: Add a listener that receives the up-to-date user. removeListener: Remove the listener. loginWithEmail: Request a email be sent that allows for logging in with email. loginWithGoogle: Start a federated Google login. logout: Logout destruct: Cleanup the login manager.

For Developer

Remember to npm run build before deploying.

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago