1 write to Challenged
Microsoft.AspNetCore.Authorization.Policy (1)
PolicyAuthorizationResult.cs (1)
11
private static readonly PolicyAuthorizationResult _challengedResult = new() {
Challenged
= true };
6 references to Challenged
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationMiddlewareResultHandler.cs (1)
26
if (authorizeResult.
Challenged
)
Microsoft.AspNetCore.Authorization.Test (4)
PolicyEvaluatorTests.cs (4)
81
Assert.False(result.
Challenged
);
116
Assert.True(result.
Challenged
);
133
Assert.False(result.
Challenged
);
153
Assert.False(result.
Challenged
);
Microsoft.AspNetCore.Mvc.Core (1)
Authorization\AuthorizeFilter.cs (1)
187
if (authorizeResult.
Challenged
)