Commit ef3c1e4
Changed files (4)
lib/saml/kit/http_post_binding.rb
@@ -1,7 +1,7 @@
module Saml
module Kit
class HttpPostBinding < Binding
- include Content
+ include Serializable
def initialize(location:)
super(binding: Saml::Kit::Namespaces::HTTP_POST, location: location)
lib/saml/kit/http_redirect_binding.rb
@@ -1,7 +1,8 @@
module Saml
module Kit
class HttpRedirectBinding < Binding
- include Content
+ include Serializable
+
def initialize(location:)
super(binding: Saml::Kit::Namespaces::HTTP_REDIRECT, location: location)
end
lib/saml/kit/content.rb → lib/saml/kit/serializable.rb
@@ -1,6 +1,6 @@
module Saml
module Kit
- module Content
+ module Serializable
def decode(value)
Base64.decode64(value)
end
lib/saml/kit.rb
@@ -12,11 +12,12 @@ require "nokogiri"
require "securerandom"
require "xmldsig"
+require "saml/kit/serializable"
require "saml/kit/xsd_validatable"
+
require "saml/kit/authentication_request"
require "saml/kit/binding"
require "saml/kit/configuration"
-require "saml/kit/content"
require "saml/kit/document"
require "saml/kit/default_registry"
require "saml/kit/fingerprint"