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.



1833
1834
1835
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1833

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)


1820
1821
1822
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1820

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



1826
1827
1828
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1826

def sp_certificates
  @sp_certificates
end

#sp_entity_idString

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

Returns:

  • (String)


1831
1832
1833
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1831

def sp_entity_id
  @sp_entity_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1838
1839
1840
1841
1842
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1838

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