I am using ADAL library to get access token for a resource. Does anyone know what format is the expiration time in ? more specifically
"exp" (Expiration time) claim
.
JwtSecurityToken
class simply returns int32 after parsing. So, that is not a good indicator.
Tried parsing it to TimeSpan
and DateTime
but the values are not 90 minutes apart. It's almost the same.
This is what I get from fiddler for iat
and exp
claim (used https://jwt.io/ to parse the token)
iat
: 1475874457
exp
: 1475878357
The values are not that much apart.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…