4 references to CustomForbiddenMessage
AuthSamples.FunctionalTests (2)
CustomAuthorizationFailureResponseTests.cs (2)
28
Assert.Equal(CustomAuthorizationFailureResponse.Startup.
CustomForbiddenMessage
, content);
38
Assert.Equal(CustomAuthorizationFailureResponse.Startup.
CustomForbiddenMessage
, content);
CustomAuthorizationFailureResponse (2)
Authorization\SampleAuthorizationMiddlewareResultHandler.cs (2)
46
await httpContext.Response.WriteAsync(Startup.
CustomForbiddenMessage
);
56
var message = Startup.
CustomForbiddenMessage
;