Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1IssueSamlResponseResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb

Overview

Response for IssueSamlResponse request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1IssueSamlResponseResponse

Returns a new instance of GoogleCloudIdentitytoolkitV1IssueSamlResponseResponse.



1308
1309
1310
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1308

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#acs_endpointString

The ACS endpoint which consumes the returned SAMLResponse. Corresponds to the JSON property acsEndpoint

Returns:

  • (String)


1275
1276
1277
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1275

def acs_endpoint
  @acs_endpoint
end

#emailString

Email of the user. Corresponds to the JSON property email

Returns:

  • (String)


1280
1281
1282
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1280

def email
  @email
end

#first_nameString

First name of the user. Corresponds to the JSON property firstName

Returns:

  • (String)


1285
1286
1287
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1285

def first_name
  @first_name
end

#is_new_userBoolean Also known as: is_new_user?

Whether the logged in user was created by this request. Corresponds to the JSON property isNewUser

Returns:

  • (Boolean)


1290
1291
1292
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1290

def is_new_user
  @is_new_user
end

#last_nameString

Last name of the user. Corresponds to the JSON property lastName

Returns:

  • (String)


1296
1297
1298
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1296

def last_name
  @last_name
end

#relay_stateString

Generated RelayState. Corresponds to the JSON property relayState

Returns:

  • (String)


1301
1302
1303
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1301

def relay_state
  @relay_state
end

#saml_responseString

Signed SAMLResponse created for the Relying Party. Corresponds to the JSON property samlResponse

Returns:

  • (String)


1306
1307
1308
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1306

def saml_response
  @saml_response
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1313
1314
1315
1316
1317
1318
1319
1320
1321
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1313

def update!(**args)
  @acs_endpoint = args[:acs_endpoint] if args.key?(:acs_endpoint)
  @email = args[:email] if args.key?(:email)
  @first_name = args[:first_name] if args.key?(:first_name)
  @is_new_user = args[:is_new_user] if args.key?(:is_new_user)
  @last_name = args[:last_name] if args.key?(:last_name)
  @relay_state = args[:relay_state] if args.key?(:relay_state)
  @saml_response = args[:saml_response] if args.key?(:saml_response)
end