Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb
Overview
App Verification info for a StartMfa request.
Instance Attribute Summary collapse
-
#auto_retrieval_info ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AutoRetrievalInfo
The information required to auto-retrieve an SMS.
-
#captcha_response ⇒ String
The reCAPTCHA Enterprise token provided by the reCAPTCHA client-side integration.
-
#client_type ⇒ String
The client type, web, android or ios.
-
#ios_receipt ⇒ String
iOS only.
-
#ios_secret ⇒ String
iOS only.
-
#phone_number ⇒ String
Required for enrollment.
-
#play_integrity_token ⇒ String
Android only.
-
#recaptcha_token ⇒ String
Web only.
-
#recaptcha_version ⇒ String
The reCAPTCHA version of the reCAPTCHA token in the captcha_response.
-
#safety_net_token ⇒ String
Android only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo
constructor
A new instance of GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo
Returns a new instance of GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo.
2781 2782 2783 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2781 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_retrieval_info ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2AutoRetrievalInfo
The information required to auto-retrieve an SMS.
Corresponds to the JSON property autoRetrievalInfo
2725 2726 2727 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2725 def auto_retrieval_info @auto_retrieval_info end |
#captcha_response ⇒ String
The reCAPTCHA Enterprise token provided by the reCAPTCHA client-side
integration. Required when reCAPTCHA enterprise is enabled.
Corresponds to the JSON property captchaResponse
2731 2732 2733 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2731 def captcha_response @captcha_response end |
#client_type ⇒ String
The client type, web, android or ios. Required when reCAPTCHA Enterprise is
enabled.
Corresponds to the JSON property clientType
2737 2738 2739 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2737 def client_type @client_type end |
#ios_receipt ⇒ String
iOS only. Receipt of successful app token validation with APNS.
Corresponds to the JSON property iosReceipt
2742 2743 2744 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2742 def ios_receipt @ios_receipt end |
#ios_secret ⇒ String
iOS only. Secret delivered to iOS app via APNS.
Corresponds to the JSON property iosSecret
2747 2748 2749 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2747 def ios_secret @ios_secret end |
#phone_number ⇒ String
Required for enrollment. Phone number to be enrolled as MFA.
Corresponds to the JSON property phoneNumber
2752 2753 2754 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2752 def phone_number @phone_number end |
#play_integrity_token ⇒ String
Android only. Used to assert application identity in place of a recaptcha
token (or safety net token). A Play Integrity Token can be generated via the
PlayIntegrity API with
applying SHA256 to the phone_number field as the nonce.
Corresponds to the JSON property playIntegrityToken
2760 2761 2762 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2760 def play_integrity_token @play_integrity_token end |
#recaptcha_token ⇒ String
Web only. Recaptcha solution.
Corresponds to the JSON property recaptchaToken
2765 2766 2767 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2765 def recaptcha_token @recaptcha_token end |
#recaptcha_version ⇒ String
The reCAPTCHA version of the reCAPTCHA token in the captcha_response. Required
when reCAPTCHA Enterprise is enabled.
Corresponds to the JSON property recaptchaVersion
2771 2772 2773 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2771 def recaptcha_version @recaptcha_version end |
#safety_net_token ⇒ 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, with the Base64 encoding of the phone_number field as the nonce.
Corresponds to the JSON property safetyNetToken
2779 2780 2781 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2779 def safety_net_token @safety_net_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2786 def update!(**args) @auto_retrieval_info = args[:auto_retrieval_info] if args.key?(:auto_retrieval_info) @captcha_response = args[:captcha_response] if args.key?(:captcha_response) @client_type = args[:client_type] if args.key?(:client_type) @ios_receipt = args[:ios_receipt] if args.key?(:ios_receipt) @ios_secret = args[:ios_secret] if args.key?(:ios_secret) @phone_number = args[:phone_number] if args.key?(:phone_number) @play_integrity_token = args[:play_integrity_token] if args.key?(:play_integrity_token) @recaptcha_token = args[:recaptcha_token] if args.key?(:recaptcha_token) @recaptcha_version = args[:recaptcha_version] if args.key?(:recaptcha_version) @safety_net_token = args[:safety_net_token] if args.key?(:safety_net_token) end |