OAuthCredential
public abstract class OAuthCredential extends AuthCredential
| java.lang.Object | ||
| ↳ | com.google.firebase.auth.AuthCredential | |
| ↳ | com.google.firebase.auth.OAuthCredential |
Holds credentials generated by a sign-in with a credential to an IDP that uses OAuth
Summary
Public constructors |
|---|
Public methods |
|
|---|---|
abstract @Nullable String |
Returns the OAuth access token associated with this credential. |
abstract @Nullable String |
Returns the OAuth ID token associated with this credential. |
abstract @Nullable String |
Returns the OAuth secret associated with this credential. |
Inherited Constants |
||||
|---|---|---|---|---|
|
Inherited methods |
||||
|---|---|---|---|---|
|
Public constructors
Public methods
getAccessToken
public abstract @Nullable String getAccessToken()
Returns the OAuth access token associated with this credential.
getIdToken
public abstract @Nullable String getIdToken()
Returns the OAuth ID token associated with this credential.