class Google::Apis::IdentitytoolkitV3::SignupNewUserResponse

Response of signing up new user, creating anonymous user or anonymous user reauth.

Attributes

display_name[RW]

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

email[RW]

The email of the user. 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 [Fixnum]

id_token[RW]

The Gitkit id token to login the newly sign up user. Corresponds to the JSON property `idToken` @return [String]

kind[RW]

The fixed string “identitytoolkit#SignupNewUserResponse”. 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]

If idToken is STS id token, then this field will be refresh token. 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 2009
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 2014
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)
  @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
end