Class: Google::Apis::IdentitytoolkitV3::EmailLinkSigninResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::EmailLinkSigninResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/identitytoolkit_v3/classes.rb,
generated/google/apis/identitytoolkit_v3/representations.rb,
generated/google/apis/identitytoolkit_v3/representations.rb
Overview
Response of email signIn.
Instance Attribute Summary collapse
-
#email ⇒ String
The user's email.
-
#expires_in ⇒ Fixnum
Expiration time of STS id token in seconds.
-
#id_token ⇒ String
The STS id token to login the newly signed in user.
-
#is_new_user ⇒ Boolean
(also: #is_new_user?)
Whether the user is new.
-
#kind ⇒ String
The fixed string "identitytoolkit#EmailLinkSigninResponse".
-
#local_id ⇒ String
The RP local ID of the user.
-
#refresh_token ⇒ String
The refresh token for the signed in user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EmailLinkSigninResponse
constructor
A new instance of EmailLinkSigninResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EmailLinkSigninResponse
Returns a new instance of EmailLinkSigninResponse
186 187 188 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 186 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The user's email.
Corresponds to the JSON property email
153 154 155 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 153 def email @email end |
#expires_in ⇒ Fixnum
Expiration time of STS id token in seconds.
Corresponds to the JSON property expiresIn
158 159 160 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 158 def expires_in @expires_in end |
#id_token ⇒ String
The STS id token to login the newly signed in user.
Corresponds to the JSON property idToken
163 164 165 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 163 def id_token @id_token end |
#is_new_user ⇒ Boolean Also known as: is_new_user?
Whether the user is new.
Corresponds to the JSON property isNewUser
168 169 170 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 168 def is_new_user @is_new_user end |
#kind ⇒ String
The fixed string "identitytoolkit#EmailLinkSigninResponse".
Corresponds to the JSON property kind
174 175 176 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 174 def kind @kind end |
#local_id ⇒ String
The RP local ID of the user.
Corresponds to the JSON property localId
179 180 181 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 179 def local_id @local_id end |
#refresh_token ⇒ String
The refresh token for the signed in user.
Corresponds to the JSON property refreshToken
184 185 186 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 184 def refresh_token @refresh_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
191 192 193 194 195 196 197 198 199 |
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 191 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) @refresh_token = args[:refresh_token] if args.key?(:refresh_token) end |