示例#1
0
        public AuthToken Deserialize(string serializedToken)
        {
            var validationParams = TokenValidationParams.Get(_authSettings);

            var claims = new JwtSecurityTokenHandler().ValidateToken(serializedToken, validationParams, out SecurityToken _);

            return(claims.ToAuthToken());
        }