GithubAuthCredential

classGithubAuthCredential :AuthCredential


Wraps a Github OAuth access token for authentication purposes.

Summary

Public functions

String

Returns the unique string identifier for the provider type with which the credential is associated.

String

Returns the unique string identifier for the sign in method with which the credential is associated.

Inherited functions

Fromandroid.os.Parcelable

Constants

Public functions

getProvider

fun getProvider(): String

Returns the unique string identifier for the provider type with which the credential is associated.

getSignInMethod

fun getSignInMethod(): String

Returns the unique string identifier for the sign in method with which the credential is associated. Should match that returned byfetchSignInMethodsForEmail after this user has signed in with this type of credential.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.