Class: Clerk::Models::Operations::CreateEnterpriseConnectionSaml

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/operations/createenterpriseconnection_saml.rb

Overview

SAML connection-specific properties. Only applied when the enterprise connection uses SAML (e.g. provider is saml_custom). Use this to set IdP configuration, attribute mapping, and other SAML-specific settings at creation time.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(idp_entity_id: nil, idp_sso_url: nil, idp_certificate: nil, idp_metadata_url: nil, idp_metadata: nil, attribute_mapping: nil, allow_subdomains: nil, allow_idp_initiated: nil, force_authn: nil) ⇒ CreateEnterpriseConnectionSaml

Returns a new instance of CreateEnterpriseConnectionSaml.



36
37
38
39
40
41
42
43
44
45
46
# File 'lib/clerk/models/operations/createenterpriseconnection_saml.rb', line 36

def initialize(idp_entity_id: nil, idp_sso_url: nil, idp_certificate: nil, idp_metadata_url: nil, idp_metadata: nil, attribute_mapping: nil, allow_subdomains: nil, allow_idp_initiated: nil, force_authn: nil)
  @idp_entity_id = idp_entity_id
  @idp_sso_url = idp_sso_url
  @idp_certificate = idp_certificate
  @idp_metadata_url = 
  @idp_metadata = 
  @attribute_mapping = attribute_mapping
  @allow_subdomains = allow_subdomains
  @allow_idp_initiated = allow_idp_initiated
  @force_authn = force_authn
end

Instance Method Details

#==(other) ⇒ Object



49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'lib/clerk/models/operations/createenterpriseconnection_saml.rb', line 49

def ==(other)
  return false unless other.is_a? self.class
  return false unless @idp_entity_id == other.idp_entity_id
  return false unless @idp_sso_url == other.idp_sso_url
  return false unless @idp_certificate == other.idp_certificate
  return false unless @idp_metadata_url == other.
  return false unless @idp_metadata == other.
  return false unless @attribute_mapping == other.attribute_mapping
  return false unless @allow_subdomains == other.allow_subdomains
  return false unless @allow_idp_initiated == other.allow_idp_initiated
  return false unless @force_authn == other.force_authn
  true
end