lib/saml/kit/builders/assertion.rb in saml-kit-1.0.24 vs lib/saml/kit/builders/assertion.rb in saml-kit-1.0.25
- old
+ new
@@ -33,9 +33,10 @@
user.name_id_for(name_id_format)
end
def assertion_attributes
return {} unless user.respond_to?(:assertion_attributes_for)
+
user.assertion_attributes_for(request)
end
def build
Saml::Kit::Assertion.new(to_xml, configuration: configuration)