LinkIdpResponse class abstract

Inheritance

Constructors

LinkIdpResponse({required String federatedId, required String providerId, required String localId, bool emailVerified, String? email, String? oauthIdToken, String? oauthAccessToken, String? oauthTokenSecret, String? rawUserInfo, String? firstName, String? lastName, String? fullName, String? displayName, Uri? photoUrl, required String idToken, required String refreshToken, required String expiresIn})
const
factory
LinkIdpResponse.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$LinkIdpResponseCopyWith<_$LinkIdpResponse>
no setter
displayName String?
The display name for the account.
no setter
email String?
The email of the account.
no setter
emailVerified bool
Whether the signin email is verified.
no setter
expiresIn String
The number of seconds in which the ID token expires.
no setter
federatedId String
The unique ID identifies the IdP account.
no setter
firstName String?
The first name for the account.
no setter
fullName String?
The full name for the account.
no setter
hashCode int
The hash code for this object.
no setterinherited
idToken String
A Firebase Auth ID token for the authenticated user.
no setter
lastName String?
The last name for the account.
no setter
localId String
The uid of the authenticated user.
no setteroverride
oauthAccessToken String?
The OAuth access token if available.
no setter
oauthIdToken String?
The OIDC id token if available.
no setter
oauthTokenSecret String?
The OAuth 1.0 token secret if available.
no setter
photoUrl Uri?
The photo Url for the account.
no setter
providerId String
The linked provider ID (e.g. "google.com" for the Google provider).
no setter
rawUserInfo String?
The stringified JSON response containing all the IdP data corresponding to the provided OAuth credential.
no setter
refreshToken String
A Firebase Auth refresh token for the authenticated user.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult anonymous(AnonymousSignInResponse value), required TResult idp(IdpSignInResponse value), required TResult password(PasswordSignInResponse value), required TResult custom(CustomTokenSignInResponse value), required TResult linkIdp(LinkIdpResponse value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? anonymous(AnonymousSignInResponse value)?, TResult? idp(IdpSignInResponse value)?, TResult? password(PasswordSignInResponse value)?, TResult? custom(CustomTokenSignInResponse value)?, TResult? linkIdp(LinkIdpResponse value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult anonymous(AnonymousSignInResponse value)?, TResult idp(IdpSignInResponse value)?, TResult password(PasswordSignInResponse value)?, TResult custom(CustomTokenSignInResponse value)?, TResult linkIdp(LinkIdpResponse value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult anonymous(String idToken, String? email, String refreshToken, String expiresIn, String localId)?, TResult idp(String federatedId, String providerId, String localId, bool emailVerified, String? email, String? oauthIdToken, String? oauthAccessToken, String? oauthTokenSecret, String? rawUserInfo, String? firstName, String? lastName, String? fullName, String? displayName, Uri? photoUrl, String idToken, String refreshToken, String expiresIn, bool needConfirmation)?, TResult password(String idToken, String? email, String refreshToken, String expiresIn, String localId, bool registered)?, TResult custom(String idToken, String refreshToken, String expiresIn)?, TResult linkIdp(String federatedId, String providerId, String localId, bool emailVerified, String? email, String? oauthIdToken, String? oauthAccessToken, String? oauthTokenSecret, String? rawUserInfo, String? firstName, String? lastName, String? fullName, String? displayName, Uri? photoUrl, String idToken, String refreshToken, String expiresIn)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult anonymous(String idToken, String? email, String refreshToken, String expiresIn, String localId), required TResult idp(String federatedId, String providerId, String localId, bool emailVerified, String? email, String? oauthIdToken, String? oauthAccessToken, String? oauthTokenSecret, String? rawUserInfo, String? firstName, String? lastName, String? fullName, String? displayName, Uri? photoUrl, String idToken, String refreshToken, String expiresIn, bool needConfirmation), required TResult password(String idToken, String? email, String refreshToken, String expiresIn, String localId, bool registered), required TResult custom(String idToken, String refreshToken, String expiresIn), required TResult linkIdp(String federatedId, String providerId, String localId, bool emailVerified, String? email, String? oauthIdToken, String? oauthAccessToken, String? oauthTokenSecret, String? rawUserInfo, String? firstName, String? lastName, String? fullName, String? displayName, Uri? photoUrl, String idToken, String refreshToken, String expiresIn)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? anonymous(String idToken, String? email, String refreshToken, String expiresIn, String localId)?, TResult? idp(String federatedId, String providerId, String localId, bool emailVerified, String? email, String? oauthIdToken, String? oauthAccessToken, String? oauthTokenSecret, String? rawUserInfo, String? firstName, String? lastName, String? fullName, String? displayName, Uri? photoUrl, String idToken, String refreshToken, String expiresIn, bool needConfirmation)?, TResult? password(String idToken, String? email, String refreshToken, String expiresIn, String localId, bool registered)?, TResult? custom(String idToken, String refreshToken, String expiresIn)?, TResult? linkIdp(String federatedId, String providerId, String localId, bool emailVerified, String? email, String? oauthIdToken, String? oauthAccessToken, String? oauthTokenSecret, String? rawUserInfo, String? firstName, String? lastName, String? fullName, String? displayName, Uri? photoUrl, String idToken, String refreshToken, String expiresIn)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited