Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb
Overview
Response message for SignInWithEmailLink.
Instance Attribute Summary collapse
-
#email ⇒ String
The email the user signed in with.
-
#expires_in ⇒ Fixnum
The number of seconds until the ID token expires.
-
#id_token ⇒ String
An Identity Platform ID token for the authenticated user.
-
#is_new_user ⇒ Boolean
(also: #is_new_user?)
Whether the authenticated user was created by this request.
-
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#local_id ⇒ String
The ID of the authenticated user.
-
#mfa_info ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1MfaEnrollment>
Info on which multi-factor authentication providers are enabled.
-
#mfa_pending_credential ⇒ String
An opaque string that functions as proof that the user has successfully passed the first factor check.
-
#refresh_token ⇒ String
Refresh token for the authenticated user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse
constructor
A new instance of GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse
Returns a new instance of GoogleCloudIdentitytoolkitV1SignInWithEmailLinkResponse.
2315 2316 2317 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2315 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The email the user signed in with. Always present in the response.
Corresponds to the JSON property email
2270 2271 2272 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2270 def email @email end |
#expires_in ⇒ Fixnum
The number of seconds until the ID token expires.
Corresponds to the JSON property expiresIn
2275 2276 2277 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2275 def expires_in @expires_in end |
#id_token ⇒ String
An Identity Platform ID token for the authenticated user.
Corresponds to the JSON property idToken
2280 2281 2282 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2280 def id_token @id_token end |
#is_new_user ⇒ Boolean Also known as: is_new_user?
Whether the authenticated user was created by this request.
Corresponds to the JSON property isNewUser
2285 2286 2287 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2285 def is_new_user @is_new_user end |
#kind ⇒ String
Corresponds to the JSON property kind
2291 2292 2293 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2291 def kind @kind end |
#local_id ⇒ String
The ID of the authenticated user. Always present in the response.
Corresponds to the JSON property localId
2296 2297 2298 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2296 def local_id @local_id end |
#mfa_info ⇒ Array<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1MfaEnrollment>
Info on which multi-factor authentication providers are enabled. Present if
the user needs to complete the sign-in using multi-factor authentication.
Corresponds to the JSON property mfaInfo
2302 2303 2304 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2302 def mfa_info @mfa_info end |
#mfa_pending_credential ⇒ String
An opaque string that functions as proof that the user has successfully passed
the first factor check.
Corresponds to the JSON property mfaPendingCredential
2308 2309 2310 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2308 def mfa_pending_credential @mfa_pending_credential end |
#refresh_token ⇒ String
Refresh token for the authenticated user.
Corresponds to the JSON property refreshToken
2313 2314 2315 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2313 def refresh_token @refresh_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2320 def update!(**args) @email = args[:email] if args.key?(:email) @expires_in = args[:expires_in] if args.key?(:expires_in) @id_token = args[:id_token] if args.key?(:id_token) @is_new_user = args[:is_new_user] if args.key?(:is_new_user) @kind = args[:kind] if args.key?(:kind) @local_id = args[:local_id] if args.key?(:local_id) @mfa_info = args[:mfa_info] if args.key?(:mfa_info) @mfa_pending_credential = args[:mfa_pending_credential] if args.key?(:mfa_pending_credential) @refresh_token = args[:refresh_token] if args.key?(:refresh_token) end |