java.lang.Object | |
↳ | com.google.firebase.auth.GithubAuthProvider |
Represents the Github authentication provider. Use this class to obtain GithubAuthCredential
s.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | GITHUB_SIGN_IN_METHOD | Unique string identifier for Github sign-in method. | |||||||||
String | PROVIDER_ID | Unique string identifier for this provider type. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a new instance of
AuthCredential that wraps a Github OAuth token. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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 signInWithCredential(AuthCredential)
or linkWithCredential(AuthCredential)
.
Parameters | |
---|---|
token |
String : A valid Github OAuth access token, obtained from the Github OAuth flow
|
Returns | |
---|---|
AuthCredential |