Class: Clerk::Models::Components::EnterpriseConnectionSamlConnection
- Inherits:
-
Object
- Object
- Clerk::Models::Components::EnterpriseConnectionSamlConnection
- 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
- #==(other) ⇒ Object
-
#initialize(id: nil, name: nil, idp_certificates: nil, active: nil, allow_idp_initiated: nil, allow_subdomains: nil, force_authn: nil, login_hint: nil, idp_entity_id: nil, idp_sso_url: nil, idp_certificate: nil, idp_certificate_issued_at: nil, idp_certificate_expires_at: nil, idp_metadata_url: nil, acs_url: nil, sp_entity_id: nil, sp_metadata_url: nil) ⇒ EnterpriseConnectionSamlConnection
constructor
A new instance of EnterpriseConnectionSamlConnection.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id: nil, name: nil, idp_certificates: nil, active: nil, allow_idp_initiated: nil, allow_subdomains: nil, force_authn: nil, login_hint: nil, idp_entity_id: nil, idp_sso_url: nil, idp_certificate: nil, idp_certificate_issued_at: nil, idp_certificate_expires_at: nil, idp_metadata_url: nil, acs_url: nil, sp_entity_id: nil, sp_metadata_url: nil) ⇒ EnterpriseConnectionSamlConnection
Returns a new instance of EnterpriseConnectionSamlConnection.
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/clerk/models/components/enterpriseconnection_saml_connection.rb', line 52 def initialize(id: nil, name: nil, idp_certificates: nil, active: nil, allow_idp_initiated: nil, allow_subdomains: nil, force_authn: nil, login_hint: nil, idp_entity_id: nil, idp_sso_url: nil, idp_certificate: nil, idp_certificate_issued_at: nil, idp_certificate_expires_at: nil, idp_metadata_url: nil, acs_url: nil, sp_entity_id: nil, sp_metadata_url: nil) @id = id @name = name @idp_certificates = idp_certificates @active = active @allow_idp_initiated = allow_idp_initiated @allow_subdomains = allow_subdomains @force_authn = force_authn @login_hint = login_hint @idp_entity_id = idp_entity_id @idp_sso_url = idp_sso_url @idp_certificate = idp_certificate @idp_certificate_issued_at = idp_certificate_issued_at @idp_certificate_expires_at = idp_certificate_expires_at = @acs_url = acs_url @sp_entity_id = sp_entity_id = end |
Instance Method Details
#==(other) ⇒ Object
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/clerk/models/components/enterpriseconnection_saml_connection.rb', line 73 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 @idp_certificates == other.idp_certificates 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 @login_hint == other.login_hint 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_certificate_issued_at == other.idp_certificate_issued_at return false unless @idp_certificate_expires_at == other.idp_certificate_expires_at return false unless == other. return false unless @acs_url == other.acs_url return false unless @sp_entity_id == other.sp_entity_id return false unless == other. true end |