public class

GithubAuthCredential

extends AuthCredential
java.lang.Object
   ↳ com.google.firebase.auth.AuthCredential
     ↳ com.google.firebase.auth.GithubAuthCredential

Class Overview

Wraps a Github OAuth access token for authentication purposes.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<GithubAuthCredential> CREATOR
Public Methods
String getProvider()
Returns the unique string identifier for the provider type with which the credential is associated.
String getSignInMethod()
Returns the unique string identifier for the sign in method with which the credential is associated.
[Expand]
Inherited Methods
From class com.google.firebase.auth.AuthCredential
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<GithubAuthCredential> CREATOR

Public Methods

public String getProvider ()

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

Returns
String

public String getSignInMethod ()

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

Returns
String