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: String

    The 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: String

    Required for enrollment. Phone number to be enrolled as MFA.

  • $msg->ios_receipt() / $msg->ios_receipt($value)

    Type: String

    iOS only. Receipt of successful app token validation with APNS.

  • $msg->ios_secret() / $msg->ios_secret($value)

    Type: String

    iOS only. Secret delivered to iOS app via APNS.

  • $msg->recaptcha_token() / $msg->recaptcha_token($value)

    Type: String

    Web 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: String

    Android 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: String

    An 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: String

    An opaque string that represents the enrollment session.

  • $msg->code() / $msg->code($value)

    Type: String

    User-entered verification code.

  • $msg->android_verification_proof() / $msg->android_verification_proof($value)

    Type: String

    Android only. Uses for "instant" phone number verification though GmsCore.

  • $msg->phone_number() / $msg->phone_number($value)

    Type: String

    Required 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: String

    Android 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: String

    For 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.