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