Skip to content

Commit d494769

Browse files
glatzertpmaytak
andcommitted
Update src/Microsoft.IdentityModel.Tokens/AppContextSwitches.cs
Co-authored-by: Peter <[email protected]>
1 parent 3395d97 commit d494769

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Microsoft.IdentityModel.Tokens/AppContextSwitches.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ internal static class AppContextSwitches
9898
private static bool? _useCapitalizedXMLTypeAttr;
9999
internal static bool UseCapitalizedXMLTypeAttr => _useCapitalizedXMLTypeAttr ??= (AppContext.TryGetSwitch(UseCapitalizedXMLTypeAttrSwitch, out bool useCapitalizedXMLTypeAttr) && useCapitalizedXMLTypeAttr);
100100

101-
101+
/// <summary>
102+
/// When enabled, allows using relative URIs in SAML2 authentication context.
103+
/// </summary>
102104
internal const string AllowRelativeUrisInSaml2AuthnContextSwitch = "Switch.Microsoft.IdentityModel.AllowRelativeUrisInSaml2AuthnContext";
103105
private static bool? _allowRelativeUrisInSaml2AuthnContext;
104106
internal static bool AllowRelativeUrisInSaml2AuthnContext => _allowRelativeUrisInSaml2AuthnContext ??= (AppContext.TryGetSwitch(AllowRelativeUrisInSaml2AuthnContextSwitch, out bool allowRelativeUris) && allowRelativeUris);

0 commit comments

Comments
 (0)