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.



1867
1868
1869
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1867

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)


1854
1855
1856
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1854

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



1860
1861
1862
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1860

def sp_certificates
  @sp_certificates
end

#sp_entity_idString

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

Returns:

  • (String)


1865
1866
1867
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1865

def sp_entity_id
  @sp_entity_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1872
1873
1874
1875
1876
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1872

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