Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithCustomTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithCustomTokenResponse
- 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 SignInWithCustomToken.
Instance Attribute Summary collapse
-
#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
. -
#refresh_token ⇒ String
An Identity Platform refresh token for the authenticated user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithCustomTokenResponse
constructor
A new instance of GoogleCloudIdentitytoolkitV1SignInWithCustomTokenResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithCustomTokenResponse
Returns a new instance of GoogleCloudIdentitytoolkitV1SignInWithCustomTokenResponse.
2233 2234 2235 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expires_in ⇒ Fixnum
The number of seconds until the ID token expires.
Corresponds to the JSON property expiresIn
2210 2211 2212 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2210 def expires_in @expires_in end |
#id_token ⇒ String
An Identity Platform ID token for the authenticated user.
Corresponds to the JSON property idToken
2215 2216 2217 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2215 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
2220 2221 2222 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2220 def is_new_user @is_new_user end |
#kind ⇒ String
Corresponds to the JSON property kind
2226 2227 2228 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2226 def kind @kind end |
#refresh_token ⇒ String
An Identity Platform refresh token for the authenticated user.
Corresponds to the JSON property refreshToken
2231 2232 2233 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2231 def refresh_token @refresh_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2238 2239 2240 2241 2242 2243 2244 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2238 def update!(**args) @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) @refresh_token = args[:refresh_token] if args.key?(:refresh_token) end |