class Google::Apis::IdentitytoolkitV3::EmailLinkSigninResponse

Response of email signIn.

Attributes

email[RW]

The user's email. Corresponds to the JSON property `email` @return [String]

expires_in[RW]

Expiration time of STS id token in seconds. Corresponds to the JSON property `expiresIn` @return [Fixnum]

id_token[RW]

The STS id token to login the newly signed in user. Corresponds to the JSON property `idToken` @return [String]

is_new_user[RW]

Whether the user is new. Corresponds to the JSON property `isNewUser` @return [Boolean]

is_new_user?[RW]

Whether the user is new. Corresponds to the JSON property `isNewUser` @return [Boolean]

kind[RW]

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

local_id[RW]

The RP local ID of the user. Corresponds to the JSON property `localId` @return [String]

refresh_token[RW]

The refresh token for the signed in user. Corresponds to the JSON property `refreshToken` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/identitytoolkit_v3/classes.rb, line 191
def update!(**args)
  @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)
  @is_new_user = args[:is_new_user] if args.key?(:is_new_user)
  @kind = args[:kind] if args.key?(:kind)
  @local_id = args[:local_id] if args.key?(:local_id)
  @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
end