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.
2206 2207 2208 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2206 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
2183 2184 2185 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2183 def expires_in @expires_in end |
#id_token ⇒ String
An Identity Platform ID token for the authenticated user.
Corresponds to the JSON property idToken
2188 2189 2190 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2188 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
2193 2194 2195 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2193 def is_new_user @is_new_user end |
#kind ⇒ String
Corresponds to the JSON property kind
2199 2200 2201 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2199 def kind @kind end |
#refresh_token ⇒ String
An Identity Platform refresh token for the authenticated user.
Corresponds to the JSON property refreshToken
2204 2205 2206 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2204 def refresh_token @refresh_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2211 2212 2213 2214 2215 2216 2217 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2211 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 |