Module: SamlTool

Defined in:
lib/saml_tool/reader.rb,
lib/saml_tool.rb,
lib/saml_tool/saml.rb,
lib/saml_tool/decoder.rb,
lib/saml_tool/encoder.rb,
lib/saml_tool/rsa_key.rb,
lib/saml_tool/version.rb,
lib/saml_tool/redirect.rb,
lib/saml_tool/settings.rb,
lib/saml_tool/validator.rb,
lib/saml_tool/certificate.rb,
lib/saml_tool/erb_builder.rb,
lib/saml_tool/response_reader.rb

Overview

A version of SamlTool::Reader tailored for handling SAML responses. It includes a valid? method that validates the SAML structure and checks the signature is correct.

Defined Under Namespace

Modules: SAML Classes: Certificate, Decoder, Encoder, ErbBuilder, Reader, Redirect, ResponseReader, RsaKey, Settings, Validator

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.SAML(thing, url = nil, encoding = nil, options = SAML::ParseOptions::DEFAULT_SAML, &block) ⇒ Object

Parse XML. Convenience method for Nokogiri::XML::Document.parse but defaults to strict mode



6
7
8
# File 'lib/saml_tool/saml.rb', line 6

def SAML thing, url = nil, encoding = nil, options = SAML::ParseOptions::DEFAULT_SAML, &block
  SAML::Document.parse(thing, url, encoding, options, &block)
end