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.
-
#ios_receipt ⇒ String
iOS only.
-
#ios_secret ⇒ String
iOS only.
-
#phone_number ⇒ String
Required for enrollment.
-
#recaptcha_token ⇒ String
Web only.
-
#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.
2064 2065 2066 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2064 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
2034 2035 2036 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2034 def auto_retrieval_info @auto_retrieval_info end |
#ios_receipt ⇒ String
iOS only. Receipt of successful app token validation with APNS.
Corresponds to the JSON property iosReceipt
2039 2040 2041 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2039 def ios_receipt @ios_receipt end |
#ios_secret ⇒ String
iOS only. Secret delivered to iOS app via APNS.
Corresponds to the JSON property iosSecret
2044 2045 2046 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2044 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
2049 2050 2051 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2049 def phone_number @phone_number end |
#recaptcha_token ⇒ String
Web only. Recaptcha solution.
Corresponds to the JSON property recaptchaToken
2054 2055 2056 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2054 def recaptcha_token @recaptcha_token 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
2062 2063 2064 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2062 def safety_net_token @safety_net_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2069 2070 2071 2072 2073 2074 2075 2076 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2069 def update!(**args) @auto_retrieval_info = args[:auto_retrieval_info] if args.key?(:auto_retrieval_info) @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) @recaptcha_token = args[:recaptcha_token] if args.key?(:recaptcha_token) @safety_net_token = args[:safety_net_token] if args.key?(:safety_net_token) end |