MCPcopy Create free account
hub / github.com/firebase/quickstart-js / signIn

Function signIn

functions/public/scripts/main.ts:128–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126
127// Start the Firebase signs-in flow via Google account.
128async function signIn() {
129 console.log('Signing-in anonymously.');
130 const provider = new GoogleAuthProvider();
131 await signInWithPopup(auth, provider);
132}
133
134// The user signs-out his Firebase account.
135async function signUserOut() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected