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.



1711
1712
1713
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1711

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)


1698
1699
1700
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1698

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



1704
1705
1706
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1704

def sp_certificates
  @sp_certificates
end

#sp_entity_idString

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

Returns:

  • (String)


1709
1710
1711
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1709

def sp_entity_id
  @sp_entity_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1716
1717
1718
1719
1720
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1716

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