Exemplo n.º 1
0
        public async Task CreateClientSecret(int id, string type, string description, string value)
        {
            string   hash    = value.Sha256();
            DateTime?expired = DateTime.Now.AddMonths(1);

            var req = new ClientSecretDto(type, description, hash, expired);

            var result = await apiKYC.CreateClientSecret(id, req);

            Assert.True(result);
        }