Skip to content

Commit 530e499

Browse files
committed
Consider DeclRef equivalent to ClassRef
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent b4fd726 commit 530e499

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/saml2/response.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,10 @@ def authn_info(self):
10821082
continue
10831083

10841084
try:
1085-
authn_class = context.authn_context_class_ref.text
1085+
authn_class = (
1086+
context.authn_context_class_ref.text
1087+
or context.authn_context_decl_ref.text
1088+
)
10861089
except AttributeError:
10871090
authn_class = ""
10881091

0 commit comments

Comments
 (0)