Beispiel #1
0
        public IStoreClient CreateClient(string path, IAuthenticationInfo authenticationInfo)
        {
            var p1 = path.Split('/')[0];

            if (p1 == "vault")
            {
                var client = inMemoryMemoryStoreClientFactory.CreateClient(new Uri("http://localhost:8200"), authenticationInfo);
                return(client);
            }

            throw new Exception("unknown path to create client");
        }