Module: Saml::Kit

Defined in:
lib/saml/kit.rb,
lib/saml/kit/parser.rb,
lib/saml/kit/version.rb,
lib/saml/kit/bindings.rb,
lib/saml/kit/builders.rb,
lib/saml/kit/document.rb,
lib/saml/kit/metadata.rb,
lib/saml/kit/response.rb,
lib/saml/kit/assertion.rb,
lib/saml/kit/signature.rb,
lib/saml/kit/conditions.rb,
lib/saml/kit/namespaces.rb,
lib/saml/kit/organization.rb,
lib/saml/kit/builders/null.rb,
lib/saml/kit/configuration.rb,
lib/saml/kit/logout_request.rb,
lib/saml/kit/null_assertion.rb,
lib/saml/kit/logout_response.rb,
lib/saml/kit/bindings/binding.rb,
lib/saml/kit/default_registry.rb,
lib/saml/kit/invalid_document.rb,
lib/saml/kit/builders/metadata.rb,
lib/saml/kit/builders/response.rb,
lib/saml/kit/bindings/http_post.rb,
lib/saml/kit/builders/assertion.rb,
lib/saml/kit/composite_metadata.rb,
lib/saml/kit/concerns/buildable.rb,
lib/saml/kit/concerns/trustable.rb,
lib/saml/kit/attribute_statement.rb,
lib/saml/kit/deprecated/metadata.rb,
lib/saml/kit/bindings/url_builder.rb,
lib/saml/kit/concerns/requestable.rb,
lib/saml/kit/concerns/respondable.rb,
lib/saml/kit/concerns/serializable.rb,
lib/saml/kit/concerns/translatable.rb,
lib/saml/kit/authentication_request.rb,
lib/saml/kit/bindings/http_redirect.rb,
lib/saml/kit/concerns/xml_parseable.rb,
lib/saml/kit/builders/logout_request.rb,
lib/saml/kit/builders/logout_response.rb,
lib/saml/kit/concerns/xml_templatable.rb,
lib/saml/kit/concerns/xsd_validatable.rb,
lib/saml/kit/service_provider_metadata.rb,
lib/saml/kit/identity_provider_metadata.rb,
lib/saml/kit/builders/encrypted_assertion.rb,
lib/saml/kit/builders/authentication_request.rb,
lib/saml/kit/builders/service_provider_metadata.rb,
lib/saml/kit/builders/identity_provider_metadata.rb

Overview

This module is the container for all classes/modules in this gem.

Defined Under Namespace

Modules: Bindings, Buildable, Builders, Namespaces, Requestable, Respondable, Serializable, Translatable, Trustable, XmlParseable, XmlTemplatable, XsdValidatable Classes: Assertion, AttributeStatement, AuthenticationRequest, CompositeMetadata, Conditions, Configuration, DefaultRegistry, Document, IdentityProviderMetadata, InvalidDocument, LogoutRequest, LogoutResponse, Metadata, NullAssertion, Organization, Parser, Response, ServiceProviderMetadata, Signature

Constant Summary collapse

VERSION =
'1.1.0'

Class Method Summary collapse

Class Method Details

.configurationObject


65
66
67
# File 'lib/saml/kit.rb', line 65

def configuration
  @configuration ||= Saml::Kit::Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:


69
70
71
# File 'lib/saml/kit.rb', line 69

def configure
  yield configuration
end

.deprecate(message) ⇒ Object


81
82
83
84
# File 'lib/saml/kit.rb', line 81

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

.loggerObject


73
74
75
# File 'lib/saml/kit.rb', line 73

def logger
  configuration.logger
end

.registryObject


77
78
79
# File 'lib/saml/kit.rb', line 77

def registry
  configuration.registry
end