Module: Lyrebird

Defined in:
lib/lyrebird.rb,
lib/lyrebird/id.rb,
lib/lyrebird/version.rb,
lib/lyrebird/defaults.rb,
lib/lyrebird/response.rb,
lib/lyrebird/assertion.rb,
lib/lyrebird/signature.rb,
lib/lyrebird/encryption.rb,
lib/lyrebird/namespaces.rb,
lib/lyrebird/certificate.rb

Defined Under Namespace

Modules: ID Classes: Assertion, Certificate, Defaults, Encryption, Response, Signature

Constant Summary collapse

VERSION =
"1.0.1"
NAMEID_EMAIL =
"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
NAMEID_PERSISTENT =
"urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
NAMEID_TRANSIENT =
"urn:oasis:names:tc:SAML:2.0:nameid-format:transient"
NAMEID_UNSPECIFIED =
"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"
DEFAULTS =
Defaults.new
SAML_ASSERTION_NS =
"urn:oasis:names:tc:SAML:2.0:assertion"
SAML_PROTOCOL_NS =
"urn:oasis:names:tc:SAML:2.0:protocol"
XMLDSIG_NS =
"http://www.w3.org/2000/09/xmldsig#"
ENVELOPED_SIG =
"http://www.w3.org/2000/09/xmldsig#enveloped-signature"
EXC_C14N =
"http://www.w3.org/2001/10/xml-exc-c14n#"
SHA256_DIGEST =
"http://www.w3.org/2001/04/xmlenc#sha256"
RSA_SHA256 =
"http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"
CM_BEARER =
"urn:oasis:names:tc:SAML:2.0:cm:bearer"
ATTR_NAME_FORMAT =
"urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"
STATUS_SUCCESS =
"urn:oasis:names:tc:SAML:2.0:status:Success"
XMLENC_NS =
"http://www.w3.org/2001/04/xmlenc#"
AES256_CBC =
"http://www.w3.org/2001/04/xmlenc#aes256-cbc"
RSA_OAEP =
"http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"

Class Method Summary collapse

Class Method Details

.configure {|DEFAULTS| ... } ⇒ Object

Yields:



31
32
33
34
# File 'lib/lyrebird.rb', line 31

def self.configure
  yield DEFAULTS
  DEFAULTS.freeze
end