Class: Google::Apis::IdentitytoolkitV3::VerifyPasswordResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::IdentitytoolkitV3::VerifyPasswordResponse
 
 
- 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 of verifying the password.
Instance Attribute Summary collapse
- 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the user.
 - 
  
    
      #email  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The email returned by the IdP.
 - 
  
    
      #expires_in  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
 - 
  
    
      #id_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The GITKit token for authenticated user.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The fixed string "identitytoolkit#VerifyPasswordResponse".
 - 
  
    
      #local_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The RP local ID if it's already been mapped to the IdP account identified by the federated ID.
 - 
  
    
      #oauth_access_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The OAuth2 access token.
 - 
  
    
      #oauth_authorization_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The OAuth2 authorization code.
 - 
  
    
      #oauth_expire_in  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The lifetime in seconds of the OAuth2 access token.
 - 
  
    
      #photo_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The URI of the user's photo at IdP Corresponds to the JSON property
photoUrl. - 
  
    
      #refresh_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If idToken is STS id token, then this field will be refresh token.
 - 
  
    
      #registered  ⇒ Boolean 
    
    
      (also: #registered?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether the email is registered.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VerifyPasswordResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VerifyPasswordResponse.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VerifyPasswordResponse
Returns a new instance of VerifyPasswordResponse
      2647 2648 2649  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2647 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#display_name ⇒ String
The name of the user.
Corresponds to the JSON property displayName
      2586 2587 2588  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2586 def display_name @display_name end  | 
  
#email ⇒ String
The email returned by the IdP. NOTE: The federated login user may not own the
email.
Corresponds to the JSON property email
      2592 2593 2594  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2592 def email @email end  | 
  
#expires_in ⇒ Fixnum
If idToken is STS id token, then this field will be expiration time of STS id
token in seconds.
Corresponds to the JSON property expiresIn
      2598 2599 2600  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2598 def expires_in @expires_in end  | 
  
#id_token ⇒ String
The GITKit token for authenticated user.
Corresponds to the JSON property idToken
      2603 2604 2605  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2603 def id_token @id_token end  | 
  
#kind ⇒ String
The fixed string "identitytoolkit#VerifyPasswordResponse".
Corresponds to the JSON property kind
      2608 2609 2610  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2608 def kind @kind end  | 
  
#local_id ⇒ String
The RP local ID if it's already been mapped to the IdP account identified by
the federated ID.
Corresponds to the JSON property localId
      2614 2615 2616  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2614 def local_id @local_id end  | 
  
#oauth_access_token ⇒ String
The OAuth2 access token.
Corresponds to the JSON property oauthAccessToken
      2619 2620 2621  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2619 def oauth_access_token @oauth_access_token end  | 
  
#oauth_authorization_code ⇒ String
The OAuth2 authorization code.
Corresponds to the JSON property oauthAuthorizationCode
      2624 2625 2626  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2624 def @oauth_authorization_code end  | 
  
#oauth_expire_in ⇒ Fixnum
The lifetime in seconds of the OAuth2 access token.
Corresponds to the JSON property oauthExpireIn
      2629 2630 2631  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2629 def oauth_expire_in @oauth_expire_in end  | 
  
#photo_url ⇒ String
The URI of the user's photo at IdP
Corresponds to the JSON property photoUrl
      2634 2635 2636  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2634 def photo_url @photo_url end  | 
  
#refresh_token ⇒ String
If idToken is STS id token, then this field will be refresh token.
Corresponds to the JSON property refreshToken
      2639 2640 2641  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2639 def refresh_token @refresh_token end  | 
  
#registered ⇒ Boolean Also known as: registered?
Whether the email is registered.
Corresponds to the JSON property registered
      2644 2645 2646  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2644 def registered @registered end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665  | 
    
      # File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 2652 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @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) @kind = args[:kind] if args.key?(:kind) @local_id = args[:local_id] if args.key?(:local_id) @oauth_access_token = args[:oauth_access_token] if args.key?(:oauth_access_token) @oauth_authorization_code = args[:oauth_authorization_code] if args.key?(:oauth_authorization_code) @oauth_expire_in = args[:oauth_expire_in] if args.key?(:oauth_expire_in) @photo_url = args[:photo_url] if args.key?(:photo_url) @refresh_token = args[:refresh_token] if args.key?(:refresh_token) @registered = args[:registered] if args.key?(:registered) end  |