class Google::Apis::IdentitytoolkitV3::VerifyPasswordResponse

Request of verifying the password.

Attributes

display_name[RW]

The name of the user. Corresponds to the JSON property `displayName` @return [String]

email[RW]

The email returned by the IdP. NOTE: The federated login user may not own the email. Corresponds to the JSON property `email` @return [String]

expires_in[RW]

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` @return [String]

id_token[RW]

The GITKit token for authenticated user. Corresponds to the JSON property `idToken` @return [String]

kind[RW]

The fixed string “identitytoolkit#VerifyPasswordResponse”. Corresponds to the JSON property `kind` @return [String]

local_id[RW]

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` @return [String]

oauth_access_token[RW]

The OAuth2 access token. Corresponds to the JSON property `oauthAccessToken` @return [String]

oauth_authorization_code[RW]

The OAuth2 authorization code. Corresponds to the JSON property `oauthAuthorizationCode` @return [String]

oauth_expire_in[RW]

The lifetime in seconds of the OAuth2 access token. Corresponds to the JSON property `oauthExpireIn` @return [Fixnum]

photo_url[RW]

The URI of the user's photo at IdP Corresponds to the JSON property `photoUrl` @return [String]

refresh_token[RW]

If idToken is STS id token, then this field will be refresh token. Corresponds to the JSON property `refreshToken` @return [String]

registered[RW]

Whether the email is registered. Corresponds to the JSON property `registered` @return [Boolean]

registered?[RW]

Whether the email is registered. Corresponds to the JSON property `registered` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/identitytoolkit_v3/classes.rb, line 1971
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/identitytoolkit_v3/classes.rb, line 1976
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