OAuthCredential

abstract class OAuthCredential : AuthCredential


Holds credentials generated by a sign-in with a credential to an IDP that uses OAuth

Summary

Public constructors

Public functions

abstract String?

Returns the OAuth access token associated with this credential.

abstract String?

Returns the OAuth ID token associated with this credential.

abstract String?

Returns the OAuth secret associated with this credential.

Inherited functions

From com.google.firebase.auth.AuthCredential
abstract String

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

abstract String

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

From android.os.Parcelable
abstract Int
Int
abstract Unit
writeToParcel(p: Parcel!, p1: Int)

Public constructors

OAuthCredential

OAuthCredential()

Public functions

getAccessToken

abstract fun getAccessToken(): String?

Returns the OAuth access token associated with this credential.

getIdToken

abstract fun getIdToken(): String?

Returns the OAuth ID token associated with this credential.

getSecret

abstract fun getSecret(): String?

Returns the OAuth secret associated with this credential. This will be null for OAuth 2.0 providers.