Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FireauthService

Fire authentication service for authentication via Firebase using google and email

Hierarchy

  • FireauthService

Index

Constructors

constructor

  • new FireauthService(afAuth: AngularFireAuth, afs: AngularFirestore, router: Router): FireauthService

Properties

Private afAuth

afAuth: AngularFireAuth

Private afs

afs: AngularFirestore

Private router

router: Router

user

user: Observable<User>

Methods

createUserEmailPassword

  • createUserEmailPassword(email: string, password: string): void

googleLogin

  • googleLogin(): Promise<void>

Private oAuthLogin

  • oAuthLogin(provider: any): Promise<void>

signInWithEmailPassword

  • signInWithEmailPassword(email: string, password: string): void

signOut

  • signOut(): void

Private updateUserData

  • updateUserData(user: any): Promise<void>

Generated using TypeDoc