MCPcopy Create free account
hub / github.com/codediodeio/angular-firestarter / socialSignIn

Method socialSignIn

src/app/core/auth.service.ts:76–83  ·  view source on GitHub ↗
(provider)

Source from the content-addressed store, hash-verified

74 }
75
76 private socialSignIn(provider) {
77 return this.afAuth.auth.signInWithPopup(provider)
78 .then((credential) => {
79 this.authState = credential.user
80 this.updateUserData()
81 })
82 .catch(error => console.log(error));
83 }
84
85
86 //// Anonymous Auth ////

Callers 4

githubLoginMethod · 0.95
googleLoginMethod · 0.95
facebookLoginMethod · 0.95
twitterLoginMethod · 0.95

Calls 1

updateUserDataMethod · 0.95

Tested by

no test coverage detected