NAME
Google::Cloud::Identitytoolkit::V2::MfaInfo - Compiled Protocol Buffers messages for google/cloud/identitytoolkit/v2/mfa_info.proto
SYNOPSIS
use Google::Cloud::Identitytoolkit::V2::MfaInfo;
my $msg = Google::Cloud::Identitytoolkit::V2::MfaInfo::AutoRetrievalInfo->new({
app_signature_hash => $app_signature_hash,
});
# Read or update a field
my $val = $msg->app_signature_hash();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Identitytoolkit::V2::MfaInfo::AutoRetrievalInfo->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/identitytoolkit/v2/mfa_info.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::MfaInfo::AutoRetrievalInfo
The information required to auto-retrieve an SMS.
Inherits from Protobuf::Message.
Accessors
$msg->app_signature_hash()/$msg->app_signature_hash($value)Type:
StringThe Android app's signature hash for Google Play Service's SMS Retriever API.
Google::Cloud::Identitytoolkit::V2::MfaInfo::StartMfaPhoneRequestInfo
App Verification info for a StartMfa request.
Inherits from Protobuf::Message.
Accessors
$msg->phone_number()/$msg->phone_number($value)Type:
StringRequired for enrollment. Phone number to be enrolled as MFA.
$msg->ios_receipt()/$msg->ios_receipt($value)Type:
StringiOS only. Receipt of successful app token validation with APNS.
$msg->ios_secret()/$msg->ios_secret($value)Type:
StringiOS only. Secret delivered to iOS app via APNS.
$msg->recaptcha_token()/$msg->recaptcha_token($value)Type:
StringWeb only. Recaptcha solution.
$msg->auto_retrieval_info()/$msg->auto_retrieval_info($value)Type:
Message(Google::Cloud::Identitytoolkit::V2::MfaInfo::AutoRetrievalInfo)Android only. Used by Google Play Services to identify the app for auto-retrieval.
$msg->safety_net_token()/$msg->safety_net_token($value)Type:
StringAndroid only. Used to assert application identity in place of a recaptcha token. A SafetyNet Token can be generated via the [SafetyNet Android Attestation API](https://developer.android.com/training/safetynet/attestation.html), with the Base64 encoding of the `phone_number` field as the nonce.
Google::Cloud::Identitytoolkit::V2::MfaInfo::StartMfaPhoneResponseInfo
Phone Verification info for a StartMfa response.
Inherits from Protobuf::Message.
Accessors
$msg->session_info()/$msg->session_info($value)Type:
StringAn opaque string that represents the enrollment session.
Google::Cloud::Identitytoolkit::V2::MfaInfo::FinalizeMfaPhoneRequestInfo
Phone Verification info for a FinalizeMfa request.
Inherits from Protobuf::Message.
Accessors
$msg->session_info()/$msg->session_info($value)Type:
StringAn opaque string that represents the enrollment session.
$msg->code()/$msg->code($value)Type:
StringUser-entered verification code.
$msg->android_verification_proof()/$msg->android_verification_proof($value)Type:
StringAndroid only. Uses for "instant" phone number verification though GmsCore.
$msg->phone_number()/$msg->phone_number($value)Type:
StringRequired if Android verification proof is presented.
Google::Cloud::Identitytoolkit::V2::MfaInfo::FinalizeMfaPhoneResponseInfo
Phone Verification info for a FinalizeMfa response.
Inherits from Protobuf::Message.
Accessors
$msg->android_verification_proof()/$msg->android_verification_proof($value)Type:
StringAndroid only. Long-lived replacement for valid code tied to android device.
$msg->android_verification_proof_expire_time()/$msg->android_verification_proof_expire_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Android only. Expiration time of verification proof in seconds.
$msg->phone_number()/$msg->phone_number($value)Type:
StringFor Android verification proof.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Identitytoolkit::V2::MfaInfo::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.