Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest
- 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
Request message for SignInWithCustomToken.
Instance Attribute Summary collapse
-
#delegated_project_number ⇒ Fixnum
Corresponds to the JSON property
delegatedProjectNumber
. -
#instance_id ⇒ String
Corresponds to the JSON property
instanceId
. -
#return_secure_token ⇒ Boolean
(also: #return_secure_token?)
Should always be true.
-
#tenant_id ⇒ String
The ID of the Identity Platform tenant the user is signing in to.
-
#token ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest
constructor
A new instance of GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest
Returns a new instance of GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest.
2162 2163 2164 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2162 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delegated_project_number ⇒ Fixnum
Corresponds to the JSON property delegatedProjectNumber
2135 2136 2137 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2135 def delegated_project_number @delegated_project_number end |
#instance_id ⇒ String
Corresponds to the JSON property instanceId
2140 2141 2142 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2140 def instance_id @instance_id end |
#return_secure_token ⇒ Boolean Also known as: return_secure_token?
Should always be true.
Corresponds to the JSON property returnSecureToken
2145 2146 2147 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2145 def return_secure_token @return_secure_token end |
#tenant_id ⇒ String
The ID of the Identity Platform tenant the user is signing in to. If present,
the ID should match the tenant_id in the token.
Corresponds to the JSON property tenantId
2152 2153 2154 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2152 def tenant_id @tenant_id end |
#token ⇒ String
Required. The custom Auth token asserted by the developer. The token should be
a JSON Web Token (JWT) that includes
the claims listed in the API reference under the "Custom Token Claims" section.
Corresponds to the JSON property token
2160 2161 2162 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2160 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2167 2168 2169 2170 2171 2172 2173 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2167 def update!(**args) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @instance_id = args[:instance_id] if args.key?(:instance_id) @return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token) @tenant_id = args[:tenant_id] if args.key?(:tenant_id) @token = args[:token] if args.key?(:token) end |