LinkIdpRequest class abstract

Implemented types

Constructors

LinkIdpRequest({required String idToken, required Uri requestUri, required String postBody, bool returnSecureToken, bool returnIdpCredential})
const
factory
LinkIdpRequest.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$LinkIdpRequestCopyWith<_$LinkIdpRequest>
no setter
hashCode int
The hash code for this object.
no setterinherited
idToken String
The Firebase ID token of the account you are trying to link the credential to.
no setter
postBody String
Contains the OAuth credential (an ID token or access token) and provider ID which issues the credential.
no setter
requestUri Uri
The URI to which the IDP redirects the user back.
no setter
returnIdpCredential bool
Whether to force the return of the OAuth credential on the following errors: FEDERATED_USER_ID_ALREADY_LINKED and EMAIL_EXISTS.
no setter
returnSecureToken bool
Whether or not to return an ID and refresh token. Should always be true.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult anonymous(AnonymousSignInRequest value), required TResult idp(IdpSignInRequest value), required TResult password(PasswordSignInRequest value), required TResult customToken(CustomTokenSignInRequest value), required TResult linkIdp(LinkIdpRequest value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? anonymous(AnonymousSignInRequest value)?, TResult? idp(IdpSignInRequest value)?, TResult? password(PasswordSignInRequest value)?, TResult? customToken(CustomTokenSignInRequest value)?, TResult? linkIdp(LinkIdpRequest value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult anonymous(AnonymousSignInRequest value)?, TResult idp(IdpSignInRequest value)?, TResult password(PasswordSignInRequest value)?, TResult customToken(CustomTokenSignInRequest value)?, TResult linkIdp(LinkIdpRequest value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult anonymous(bool returnSecureToken)?, TResult idp(Uri requestUri, String postBody, bool returnSecureToken, bool returnIdpCredential)?, TResult password(String email, String password, bool returnSecureToken)?, TResult customToken(String token, bool returnSecureToken)?, TResult linkIdp(String idToken, Uri requestUri, String postBody, bool returnSecureToken, bool returnIdpCredential)?, 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(bool returnSecureToken), required TResult idp(Uri requestUri, String postBody, bool returnSecureToken, bool returnIdpCredential), required TResult password(String email, String password, bool returnSecureToken), required TResult customToken(String token, bool returnSecureToken), required TResult linkIdp(String idToken, Uri requestUri, String postBody, bool returnSecureToken, bool returnIdpCredential)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? anonymous(bool returnSecureToken)?, TResult? idp(Uri requestUri, String postBody, bool returnSecureToken, bool returnIdpCredential)?, TResult? password(String email, String password, bool returnSecureToken)?, TResult? customToken(String token, bool returnSecureToken)?, TResult? linkIdp(String idToken, Uri requestUri, String postBody, bool returnSecureToken, bool returnIdpCredential)?}) → TResult?
inherited

Operators

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