MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / NewGCIPAuthenticator

Function NewGCIPAuthenticator

lib/auth/gcip_authenticator.go:37–41  ·  view source on GitHub ↗

NewGCIPAuthenticator creates a new GCIPAuthenticator instance.

(client UserAuthClient)

Source from the content-addressed store, hash-verified

35
36// NewGCIPAuthenticator creates a new GCIPAuthenticator instance.
37func NewGCIPAuthenticator(client UserAuthClient) *GCIPAuthenticator {
38 return &GCIPAuthenticator{
39 client,
40 }
41}
42
43func extractGitHubUserIDFromToken(token *firebaseauth.Token) (*string, bool) {
44 if token.Firebase.Identities == nil {

Callers 1

TestGCIPAuthenticatorFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestGCIPAuthenticatorFunction · 0.68