Class: Google::Apis::IdentitytoolkitV3::VerifyCustomTokenRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::IdentitytoolkitV3::VerifyCustomTokenRequest
 
- 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
Request to verify a custom token
Instance Attribute Summary collapse
- 
  
    
      #delegated_project_number  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    GCP project number of the requesting delegated app. 
- 
  
    
      #instance_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Instance id token of the app. 
- 
  
    
      #return_secure_token  ⇒ Boolean 
    
    
      (also: #return_secure_token?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether return sts id token and refresh token instead of gitkit token. 
- 
  
    
      #token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The custom token to verify Corresponds to the JSON property token.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VerifyCustomTokenRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of VerifyCustomTokenRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VerifyCustomTokenRequest
Returns a new instance of VerifyCustomTokenRequest
| 1379 1380 1381 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1379 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#delegated_project_number ⇒ Fixnum
GCP project number of the requesting delegated app. Currently only intended
for Firebase V1 migration.
Corresponds to the JSON property delegatedProjectNumber
| 1361 1362 1363 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1361 def delegated_project_number @delegated_project_number end | 
#instance_id ⇒ String
Instance id token of the app.
Corresponds to the JSON property instanceId
| 1366 1367 1368 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1366 def instance_id @instance_id end | 
#return_secure_token ⇒ Boolean Also known as: return_secure_token?
Whether return sts id token and refresh token instead of gitkit token.
Corresponds to the JSON property returnSecureToken
| 1371 1372 1373 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1371 def return_secure_token @return_secure_token end | 
#token ⇒ String
The custom token to verify
Corresponds to the JSON property token
| 1377 1378 1379 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1377 def token @token end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1384 1385 1386 1387 1388 1389 | # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 1384 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) @token = args[:token] if args.key?(:token) end |