0.0.7 • Published 6 years ago
ngx-o-auth-firebase
Licence
—
Version
0.0.7
Deps
1
Size
456 kB
Vulns
0
Weekly
0
NgxOAuthFirebase
A simple firebase auth ui
components
inputs * edit: booean * user: User from ngxOAuthFirebaseModuleroutes
path: 'verify-email-address',
component: SendVerificationEmailComponent
services
AuthService
working with firebase auth
* sets user to localstorage
* login(email: string, password: string)
* SignUp(email, password)
* isOwner(ownerId:string):boolean
* logout()
* get isLoggedIn(): boolean
* get userData(): User
* googleLogin()
* oAuthLogin(provider)
UserService
working with firestore user
* getUser(id:string)
* createUser(u:User)
* updateUser(u:User)
* getUserByEmail(email: string)