Sha256: 45d034db8ec0703952f2debd5af2e58d0a4fa7b09a8aa92ef1f9f2a4078e8bbe

Contents?: true

Size: 420 Bytes

Versions: 8

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true

module Osso
  module Models
    # Subclass for Azure / ADFS IDP instances
    class AzureSamlProvider < Models::SamlProvider
      def name
        'Azure'
      end

      def saml_options
        attributes.slice(
          'domain',
          'idp_cert',
          'idp_sso_target_url',
        ).merge(
          issuer: "id:#{id}",
        ).symbolize_keys
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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