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.



1314
1315
1316
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1314

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)


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

def acs_endpoint
  @acs_endpoint
end

#emailString

Email of the user. Corresponds to the JSON property email

Returns:

  • (String)


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

def email
  @email
end

#first_nameString

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

Returns:

  • (String)


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

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)


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

def is_new_user
  @is_new_user
end

#last_nameString

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

Returns:

  • (String)


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

def last_name
  @last_name
end

#relay_stateString

Generated RelayState. Corresponds to the JSON property relayState

Returns:

  • (String)


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

def relay_state
  @relay_state
end

#saml_responseString

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

Returns:

  • (String)


1312
1313
1314
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1312

def saml_response
  @saml_response
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1319
1320
1321
1322
1323
1324
1325
1326
1327
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1319

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