Sha256: 6eb9c82a4728e49a963742f60f2d27fcdf611e2a3cda309387ed598cacf6587a

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 KB

Contents

require "saml/kit/version"

require "active_model"
require "active_support/core_ext/date/calculations"
require "active_support/core_ext/hash/conversions"
require "active_support/core_ext/hash/indifferent_access"
require "active_support/core_ext/numeric/time"
require "active_support/deprecation"
require "active_support/duration"
require "logger"
require "net/http"
require "nokogiri"
require "securerandom"
require "xml/kit"

require "saml/kit/buildable"
require "saml/kit/builders"
require "saml/kit/namespaces"
require "saml/kit/serializable"
require "saml/kit/xsd_validatable"
require "saml/kit/respondable"
require "saml/kit/requestable"
require "saml/kit/trustable"
require "saml/kit/translatable"
require "saml/kit/document"

require "saml/kit/assertion"
require "saml/kit/authentication_request"
require "saml/kit/bindings"
require "saml/kit/configuration"
require "saml/kit/default_registry"
require "saml/kit/logout_response"
require "saml/kit/logout_request"
require "saml/kit/metadata"
require "saml/kit/composite_metadata"
require "saml/kit/response"
require "saml/kit/identity_provider_metadata"
require "saml/kit/invalid_document"
require "saml/kit/service_provider_metadata"
require "saml/kit/signature"

I18n.load_path += Dir[File.expand_path("kit/locales/*.yml", File.dirname(__FILE__))]

module Saml
  module Kit
    class << self
      def configuration
        @config ||= Saml::Kit::Configuration.new
      end

      def configure
        yield configuration
      end

      def logger
        configuration.logger
      end

      def registry
        configuration.registry
      end

      def deprecate(message)
        @deprecation ||= ActiveSupport::Deprecation.new('1.0.0', 'saml-kit')
        @deprecation.deprecation_warning(message)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
saml-kit-0.3.2 lib/saml/kit.rb
saml-kit-0.3.1 lib/saml/kit.rb