SignInRequest.linkIdp constructor
const
SignInRequest.linkIdp({})
Implementation
const factory SignInRequest.linkIdp({
/// The Firebase ID token of the account you are trying to link the
/// credential to.
required String idToken,
/// The URI to which the IDP redirects the user back.
required Uri requestUri,
/// Contains the OAuth credential (an ID token or access token) and provider
/// ID which issues the credential.
required String postBody,
/// Whether or not to return an ID and refresh token. Should always be true.
@Default(true) bool returnSecureToken,
/// Whether to force the return of the OAuth credential on the following
/// errors: FEDERATED_USER_ID_ALREADY_LINKED and EMAIL_EXISTS.
@Default(false) bool returnIdpCredential,
}) = LinkIdpRequest;