Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SpConfig

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

Overview

The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2SpConfig

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2SpConfig.



1533
1534
1535
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1533

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

Instance Attribute Details

#callback_uriString

Callback URI where responses from IDP are handled. Corresponds to the JSON property callbackUri

Returns:

  • (String)


1520
1521
1522
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1520

def callback_uri
  @callback_uri
end

#sp_certificatesArray<Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SpCertificate>

Output only. Public certificates generated by the server to verify the signature in SAMLRequest in the SP-initiated flow. Corresponds to the JSON property spCertificates



1526
1527
1528
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1526

def sp_certificates
  @sp_certificates
end

#sp_entity_idString

Unique identifier for all SAML entities. Corresponds to the JSON property spEntityId

Returns:

  • (String)


1531
1532
1533
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1531

def sp_entity_id
  @sp_entity_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1538
1539
1540
1541
1542
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1538

def update!(**args)
  @callback_uri = args[:callback_uri] if args.key?(:callback_uri)
  @sp_certificates = args[:sp_certificates] if args.key?(:sp_certificates)
  @sp_entity_id = args[:sp_entity_id] if args.key?(:sp_entity_id)
end