Class: Clerk::Models::Components::EnterpriseConnectionSamlConnection

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

Overview

Present when the enterprise connection uses SAML

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id: nil, name: nil, active: nil, allow_idp_initiated: nil, allow_subdomains: nil, force_authn: nil, idp_entity_id: nil, idp_sso_url: nil, idp_metadata_url: nil, acs_url: nil, sp_entity_id: nil, sp_metadata_url: nil) ⇒ EnterpriseConnectionSamlConnection

Returns a new instance of EnterpriseConnectionSamlConnection.



41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/clerk/models/components/enterpriseconnection_saml_connection.rb', line 41

def initialize(id: nil, name: nil, active: nil, allow_idp_initiated: nil, allow_subdomains: nil, force_authn: nil, idp_entity_id: nil, idp_sso_url: nil, idp_metadata_url: nil, acs_url: nil, sp_entity_id: nil, sp_metadata_url: nil)
  @id = id
  @name = name
  @active = active
  @allow_idp_initiated = allow_idp_initiated
  @allow_subdomains = allow_subdomains
  @force_authn = force_authn
  @idp_entity_id = idp_entity_id
  @idp_sso_url = idp_sso_url
  @idp_metadata_url = 
  @acs_url = acs_url
  @sp_entity_id = sp_entity_id
  @sp_metadata_url = 
end

Instance Method Details

#==(other) ⇒ Object



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'lib/clerk/models/components/enterpriseconnection_saml_connection.rb', line 57

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @name == other.name
  return false unless @active == other.active
  return false unless @allow_idp_initiated == other.allow_idp_initiated
  return false unless @allow_subdomains == other.allow_subdomains
  return false unless @force_authn == other.force_authn
  return false unless @idp_entity_id == other.idp_entity_id
  return false unless @idp_sso_url == other.idp_sso_url
  return false unless @idp_metadata_url == other.
  return false unless @acs_url == other.acs_url
  return false unless @sp_entity_id == other.sp_entity_id
  return false unless @sp_metadata_url == other.
  true
end