IdToken

data class IdToken(val providerId: String, val idToken: String, val accessToken: String? = null, val rawNonce: String? = null) : AuthCredential

Token-based credential: the provider flow already ran on-device and produced an ID token (e.g. Google Sign-In, Sign in with Apple, Facebook Limited Login).

Parameters

idToken

OpenID Connect ID token issued by the provider.

accessToken

Provider access token, when available.

rawNonce

Unhashed nonce used in the provider request, for backends that verify it (e.g. Apple).

Constructors

Link copied to clipboard
constructor(providerId: String, idToken: String, accessToken: String? = null, rawNonce: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val providerId: String

Identity provider that issued this credential — one of AuthProviderIds or a custom OAuth provider id.

Link copied to clipboard