コード例 #1
0
        public async Task AuthorizeAndGetToken()
        {
            // Only useful for local machine testing
            var username = "******";
            var password = "******";

            var jwt = await AuthHelpers.CreateAuthorize(username, password);

            Assert.IsTrue(!string.IsNullOrWhiteSpace(jwt.Token));
        }