Class: Clerk::Models::Components::SAMLConnection2
- Inherits:
-
Object
- Object
- Clerk::Models::Components::SAMLConnection2
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/components/samlconnection_2.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(object:, id:, name:, domains:, acs_url:, sp_entity_id:, sp_metadata_url:, active:, provider:, user_count:, sync_user_attributes:, allow_subdomains:, allow_idp_initiated:, disable_additional_identifications:, allow_organization_account_linking:, force_authn:, created_at:, updated_at:, domain: nil, idp_entity_id: nil, idp_sso_url: nil, idp_certificate: nil, attribute_mapping: nil, idp_metadata_url: nil, idp_metadata: nil, organization_id: nil, enterprise_connection_id: nil) ⇒ SAMLConnection2
constructor
A new instance of SAMLConnection2.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(object:, id:, name:, domains:, acs_url:, sp_entity_id:, sp_metadata_url:, active:, provider:, user_count:, sync_user_attributes:, allow_subdomains:, allow_idp_initiated:, disable_additional_identifications:, allow_organization_account_linking:, force_authn:, created_at:, updated_at:, domain: nil, idp_entity_id: nil, idp_sso_url: nil, idp_certificate: nil, attribute_mapping: nil, idp_metadata_url: nil, idp_metadata: nil, organization_id: nil, enterprise_connection_id: nil) ⇒ SAMLConnection2
Returns a new instance of SAMLConnection2.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/clerk/models/components/samlconnection_2.rb', line 73 def initialize(object:, id:, name:, domains:, acs_url:, sp_entity_id:, sp_metadata_url:, active:, provider:, user_count:, sync_user_attributes:, allow_subdomains:, allow_idp_initiated:, disable_additional_identifications:, allow_organization_account_linking:, force_authn:, created_at:, updated_at:, domain: nil, idp_entity_id: nil, idp_sso_url: nil, idp_certificate: nil, attribute_mapping: nil, idp_metadata_url: nil, idp_metadata: nil, organization_id: nil, enterprise_connection_id: nil) @object = object @id = id @name = name @domains = domains @acs_url = acs_url @sp_entity_id = sp_entity_id @sp_metadata_url = @active = active @provider = provider @user_count = user_count @sync_user_attributes = sync_user_attributes @allow_subdomains = allow_subdomains @allow_idp_initiated = allow_idp_initiated @disable_additional_identifications = disable_additional_identifications @allow_organization_account_linking = allow_organization_account_linking @force_authn = force_authn @created_at = created_at @updated_at = updated_at @domain = domain @idp_entity_id = idp_entity_id @idp_sso_url = idp_sso_url @idp_certificate = idp_certificate @attribute_mapping = attribute_mapping @idp_metadata_url = @idp_metadata = @organization_id = organization_id @enterprise_connection_id = enterprise_connection_id end |
Instance Method Details
#==(other) ⇒ Object
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'lib/clerk/models/components/samlconnection_2.rb', line 104 def ==(other) return false unless other.is_a? self.class return false unless @object == other.object return false unless @id == other.id return false unless @name == other.name return false unless @domains == other.domains 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. return false unless @active == other.active return false unless @provider == other.provider return false unless @user_count == other.user_count return false unless @sync_user_attributes == other.sync_user_attributes return false unless @allow_subdomains == other.allow_subdomains return false unless @allow_idp_initiated == other.allow_idp_initiated return false unless @disable_additional_identifications == other.disable_additional_identifications return false unless @allow_organization_account_linking == other.allow_organization_account_linking return false unless @force_authn == other.force_authn return false unless @created_at == other.created_at return false unless @updated_at == other.updated_at return false unless @domain == other.domain 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 @attribute_mapping == other.attribute_mapping return false unless @idp_metadata_url == other. return false unless @idp_metadata == other. return false unless @organization_id == other.organization_id return false unless @enterprise_connection_id == other.enterprise_connection_id true end |