public JObject BuildTrackRequest(ActionRequest request) { var prepared = (request ?? new ActionRequest()).PrepareApiCopy(_configuration.AllowList, _configuration.DenyList); return(JsonForCastle.FromObject(prepared)); }
public JObject BuildAuthenticateRequest(ActionRequest request) { var prepared = (request ?? new ActionRequest()).PrepareApiCopy(_configuration.Whitelist, _configuration.Blacklist); return(JsonForCastle.FromObject(prepared)); }