示例#1
0
        public void DecodeToken_WithoutVerifySignature()
        {
            var          builder = new JwtBuilder();
            const string token   = _sampleToken;

            var payload = builder
                          .DoNotVerifySignature()
                          .Decode(token);

            payload.Should()
            .NotBeEmpty("because the token should have been decoded without errors if asked so");
        }