Represents the Github authentication provider. Use this class to obtain GithubAuthCredentials.
| String | GITHUB_SIGN_IN_METHOD | Unique string identifier for Github sign-in method. |
| String | PROVIDER_ID | Unique string identifier for this provider type. |
| static AuthCredential |
getCredential(String token)
Returns a new instance of
AuthCredential
that wraps a Github OAuth token.
|
Unique string identifier for Github sign-in method.
Unique string identifier for this provider type.
Returns a new instance of AuthCredential
that wraps a Github OAuth token. Used when calling
FirebaseAuth.signInWithCredential(AuthCredential) or
FirebaseUser.linkWithCredential(AuthCredential).
| token | A valid Github OAuth access token, obtained from the Github OAuth flow |
|---|