class Saml::Metadata

Overview

SAML2 Metadata. XML Metadata Builder

Defined in:

saml/metadata.cr

Instance Method Summary

Instance Method Detail

def generate(settings, pretty_print = false, valid_until = nil, cache_duration = nil) #

Return SP metadata based on the settings. @param settings [Saml::Settings|nil] Toolkit settings @param pretty_print [Boolean] Pretty print or not the response (No pretty print if you gonna validate the signature) @param valid_until [DateTime] Metadata's valid time @param cache_duration [Integer] Duration of the cache in seconds @return [String] XML Metadata of the Service Provider


[View source]