Skip to content

Commit 02eb45e

Browse files
committed
Signature Validation with Multiple Signatures improved for Core and Framework.
1 parent b0d31df commit 02eb45e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ITfoxtec.Identity.Saml2/Request/Saml2AuthnResponse.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,12 @@ protected override XmlElement GetAssertionElement()
258258
{
259259
if (assertionElementCache == null)
260260
{
261+
#if NETFULL
261262
assertionElementCache = GetAssertionElementReference().ToXmlDocument().DocumentElement;
262-
}
263+
#else
264+
assertionElementCache = GetAssertionElementReference();
265+
#endif
266+
}
263267
return assertionElementCache;
264268
}
265269

0 commit comments

Comments
 (0)