Service Client: Google::Cloud::Identitytoolkit::V2::AuthenticationService::AuthenticationServiceClient
Client stub representing the remote AuthenticationService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to identitytoolkit.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Identitytoolkit::V2::AuthenticationService - Compiled Protocol Buffers messages for google/cloud/identitytoolkit/v2/authentication_service.proto
SYNOPSIS
use Google::Cloud::Identitytoolkit::V2::AuthenticationService;
my $msg = Google::Cloud::Identitytoolkit::V2::AuthenticationService::FinalizeMfaSignInRequest->new({
mfa_pending_credential => $mfa_pending_credential,
phone_verification_info => $phone_verification_info,
tenant_id => $tenant_id,
});
# Read or update a field
my $val = $msg->mfa_pending_credential();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Identitytoolkit::V2::AuthenticationService::FinalizeMfaSignInRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/identitytoolkit/v2/authentication_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Identitytoolkit::V2::AuthenticationService::FinalizeMfaSignInRequest
Finalizes sign-in by verifying MFA challenge.
Inherits from Protobuf::Message.
Accessors
$msg->mfa_pending_credential()/$msg->mfa_pending_credential($value)Type:
StringRequired. Pending credential from first factor sign-in.
$msg->phone_verification_info()/$msg->phone_verification_info($value)Type:
Message(Google::Cloud::Identitytoolkit::V2::MfaInfo::FinalizeMfaPhoneRequestInfo)Proof of completion of the SMS based MFA challenge.
$msg->tenant_id()/$msg->tenant_id($value)Type:
StringThe ID of the Identity Platform tenant the user is signing in to. If not set, the user will sign in to the default Identity Platform project.
Google::Cloud::Identitytoolkit::V2::AuthenticationService::FinalizeMfaSignInResponse
FinalizeMfaSignIn response.
Inherits from Protobuf::Message.
Accessors
$msg->id_token()/$msg->id_token($value)Type:
StringID token for the authenticated user.
$msg->refresh_token()/$msg->refresh_token($value)Type:
StringRefresh token for the authenticated user.
$msg->phone_auth_info()/$msg->phone_auth_info($value)Type:
Message(Google::Cloud::Identitytoolkit::V2::MfaInfo::FinalizeMfaPhoneResponseInfo)Extra phone auth info, including android verification proof.
Google::Cloud::Identitytoolkit::V2::AuthenticationService::StartMfaSignInRequest
Starts multi-factor sign-in by sending the multi-factor auth challenge.
Inherits from Protobuf::Message.
Accessors
$msg->mfa_pending_credential()/$msg->mfa_pending_credential($value)Type:
StringRequired. Pending credential from first factor sign-in.
$msg->mfa_enrollment_id()/$msg->mfa_enrollment_id($value)Type:
StringRequired. MFA enrollment id from the user's list of current MFA enrollments.
$msg->phone_sign_in_info()/$msg->phone_sign_in_info($value)Type:
Message(Google::Cloud::Identitytoolkit::V2::MfaInfo::StartMfaPhoneRequestInfo)Verification info to authorize sending an SMS for phone verification.
$msg->tenant_id()/$msg->tenant_id($value)Type:
StringThe ID of the Identity Platform tenant the user is signing in to. If not set, the user will sign in to the default Identity Platform project.
Google::Cloud::Identitytoolkit::V2::AuthenticationService::StartMfaSignInResponse
StartMfaSignIn response.
Inherits from Protobuf::Message.
Accessors
$msg->phone_response_info()/$msg->phone_response_info($value)Type:
Message(Google::Cloud::Identitytoolkit::V2::MfaInfo::StartMfaPhoneResponseInfo)MultiFactor sign-in session information specific to SMS-type second factors. Along with the one-time code retrieved from the sent SMS, the contents of this session information should be passed to FinalizeMfaSignIn to complete the sign in.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Identitytoolkit::V2::AuthenticationService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.