Merge pull request #60 from SUNET/fix_class_ref_list

requested_authn_context: authn_context_class_ref should be a list
This commit is contained in:
Roland Hedberg
2013-10-04 03:55:32 -07:00

View File

@@ -208,5 +208,5 @@ def authn_context_class_ref(ref):
def requested_authn_context(class_ref, comparison="minimum"):
return RequestedAuthnContext(
authn_context_class_ref=AuthnContextClassRef(text=class_ref),
comparison=comparison)
authn_context_class_ref=[AuthnContextClassRef(text=class_ref)],
comparison=comparison)