private string NotAuthorizedFormatter(ICodec codec, ProjectionManagementMessage.NotAuthorized message) { return(message.Reason); }
private ResponseConfiguration NotAuthorizedConfigurator( ICodec codec, ProjectionManagementMessage.NotAuthorized message) { return(new ResponseConfiguration(401, "Not Authorized", "text/plain", Encoding.UTF8)); }