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.



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

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)


1241
1242
1243
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1241

def acs_endpoint
  @acs_endpoint
end

#emailString

Email of the user. Corresponds to the JSON property email

Returns:

  • (String)


1246
1247
1248
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1246

def email
  @email
end

#first_nameString

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

Returns:

  • (String)


1251
1252
1253
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1251

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)


1256
1257
1258
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1256

def is_new_user
  @is_new_user
end

#last_nameString

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

Returns:

  • (String)


1262
1263
1264
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1262

def last_name
  @last_name
end

#relay_stateString

Generated RelayState. Corresponds to the JSON property relayState

Returns:

  • (String)


1267
1268
1269
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1267

def relay_state
  @relay_state
end

#saml_responseString

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

Returns:

  • (String)


1272
1273
1274
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1272

def saml_response
  @saml_response
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1279
1280
1281
1282
1283
1284
1285
1286
1287
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1279

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