Skip to content

Commit 2f4d460

Browse files
author
Roland Hedberg
committed
Merge pull request #60 from SUNET/fix_class_ref_list
requested_authn_context: authn_context_class_ref should be a list
2 parents 466d75e + e3b1204 commit 2f4d460

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/saml2/authn_context/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,5 +208,5 @@ def authn_context_class_ref(ref):
208208

209209
def requested_authn_context(class_ref, comparison="minimum"):
210210
return RequestedAuthnContext(
211-
authn_context_class_ref=AuthnContextClassRef(text=class_ref),
212-
comparison=comparison)
211+
authn_context_class_ref=[AuthnContextClassRef(text=class_ref)],
212+
comparison=comparison)

0 commit comments

Comments
 (0)