← Quiz: JWT and API Security: all 10 questions
Quiz: JWT and API Security · Question 8 of 10
What does the exp claim do?
What does the exp claim do?
- A.Sets when the token stops being valid
- B.Holds the user's role
- C.Chooses the signing algorithm
- D.Stores the user's password
Answer & explanation
Correct answer: Sets when the token stops being valid
Short-lived access tokens limit the damage of a stolen token.
Can you get the rest right without peeking?
Take the timed Quiz: JWT and API Security quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →