Skip to content
Sharp

Authentication · interview question

What does the 'exp' claim in a JWT represent?

Multiple choiceEasychapter-17-curatedpremiumauthenticationjson-web-tokens-jwt
Choose one answer
Answer and explanation

Correct answer

D. Expiration time

Why

The 'exp' claim in a JWT specifies the expiration time after which the token is no longer valid. It helps in enforcing token validity periods.

Test yourself on Authentication

A free test with instant, explained results. No account needed.

Start free test
All Authentication questions →