🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Sets when the token stops being valid
  2. B.Holds the user's role
  3. C.Chooses the signing algorithm
  4. 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 →