Exemplo n.º 1
0
        public JObject BuildTrackRequest(ActionRequest request)
        {
            var prepared = (request ?? new ActionRequest()).PrepareApiCopy(_configuration.AllowList, _configuration.DenyList);

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

            return(JsonForCastle.FromObject(prepared));
        }