示例#1
0
        public JObject BuildTrackRequest(ActionRequest request)
        {
            var prepared = (request ?? new ActionRequest()).PrepareApiCopy(_configuration.AllowList, _configuration.DenyList);

            return(JsonForCastle.FromObject(prepared));
        }
示例#2
0
        public JObject BuildAuthenticateRequest(ActionRequest request)
        {
            var prepared = (request ?? new ActionRequest()).PrepareApiCopy(_configuration.Whitelist, _configuration.Blacklist);

            return(JsonForCastle.FromObject(prepared));
        }