Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

decode token to get claims value

var token = "[encoded jwt]";  
var handler = new JwtSecurityTokenHandler();
var jwtSecurityToken = handler.ReadJwtToken(token);
var jti = tokenS.Claims.First(claim => claim.Type == "jti").Value;

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #decode #token #claims
ADD COMMENT
Topic
Name
4+7 =