You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Microsoft.Identity.Web/Constants/IDWebErrorMessage.cs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,8 @@ namespace Microsoft.Identity.Web
9
9
internalstaticclassIDWebErrorMessage
10
10
{
11
11
// General IDW10000 = "IDW10000:"
12
-
publicconststringHttpContextIsNull="IDW10000: HttpContext is null. ";
12
+
publicconststringHttpContextIsNull="IDW10001: HttpContext is null. ";
13
+
publicconststringHttpContextAndHttpResponseAreNull="IDW10002: Current HttpContext and HttpResponse argument are null. Pass an HttpResponse argument. ";
13
14
14
15
// Configuration IDW10100 = "IDW10100:"
15
16
publicconststringProvideEitherScopeKeySectionOrScopes="IDW10101: Either provide the '{0}' or the '{1}' to the 'AuthorizeForScopes'. ";
// A user interaction is required, but we are in a web API, and therefore, we need to report back to the client through a 'WWW-Authenticate' header https://tools.ietf.org/html/rfc6750#section-3.1
540
541
stringproposedAction=Constants.Consent;
@@ -562,23 +563,26 @@ public async Task ReplyForbiddenWithWwwAuthenticateHeaderAsync(IEnumerable<strin
0 commit comments