1 write to Message
Microsoft.AspNetCore.Authorization (1)
AuthorizationFailureReason.cs (1)
19
Message
= message;
3 references to Message
CustomAuthorizationFailureResponse (1)
Authorization\SampleAuthorizationMiddlewareResultHandler.cs (1)
36
await httpContext.Response.WriteAsync(policyAuthorizationResult.AuthorizationFailure.FailureReasons.First().
Message
);
Microsoft.AspNetCore.Authorization.Test (2)
DefaultAuthorizationServiceTests.cs (2)
192
Assert.Equal("1", first.
Message
);
195
Assert.Equal("3", second.
Message
);