Sha256: fbdd4268d9d27274baeddee379efa2a35618fd6495d9af13aad596bd4e31dfdd

Contents?: true

Size: 450 Bytes

Versions: 9

Compression:

Stored size: 450 Bytes

Contents

# frozen_string_literal: true

module Osso
  module Models
    # Subclass for Okta IDP instances
    class OktaSamlProvider < Models::SamlProvider
      def name
        'Okta'
      end

      def saml_options
        attributes.slice(
          'domain',
          'idp_cert',
          'idp_sso_target_url',
        ).merge(
          issuer: id,
          name_identifier_format: NAME_FORMAT,
        ).symbolize_keys
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
osso-0.0.3.5 lib/osso/models/saml_providers/okta_saml_provider.rb
osso-0.0.3.4 lib/osso/models/saml_providers/okta_saml_provider.rb
osso-0.0.3.3 lib/osso/models/saml_providers/okta_saml_provider.rb
osso-0.0.3.2 lib/osso/models/saml_providers/okta_saml_provider.rb
osso-0.0.3.1 lib/osso/models/saml_providers/okta_saml_provider.rb
osso-0.0.3 lib/osso/models/saml_providers/okta_saml_provider.rb
osso-0.0.2.10 lib/osso/models/saml_providers/okta_saml_provider.rb
osso-0.0.2.9 lib/osso/models/saml_providers/okta_saml_provider.rb
osso-0.0.2.8 lib/osso/models/saml_providers/okta_saml_provider.rb