4 references to new
Microsoft.AspNetCore.Authorization.Policy (4)
PolicyAuthorizationResult.cs (4)
11
private static readonly PolicyAuthorizationResult _challengedResult =
new
() { Challenged = true };
12
private static readonly PolicyAuthorizationResult _forbiddenResult =
new
() { Forbidden = true };
13
private static readonly PolicyAuthorizationResult _succeededResult =
new
() { Succeeded = true };
57
: new
PolicyAuthorizationResult
{ Forbidden = true, AuthorizationFailure = authorizationFailure };