Example #1
0
        public void CreateToken()
        {
            var jwt   = new JwtGenerator("asdas1d31q51131#", "HS256");
            var token = jwt.CreateJwtToken(null, "user", "testdomain.com");

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