Bird
Raised Fist0

Given this JWT payload: {"sub":"1234567890","name":"John Doe","iat":1516239022}, what does the iat field represent?

medium🧠 Conceptual Q13 of Q15
Rest API - Authentication and Authorization
Given this JWT payload: {"sub":"1234567890","name":"John Doe","iat":1516239022}, what does the iat field represent?
AIssuer of the token
BIssued at time
CExpiration time
DSubject identifier
Step-by-Step Solution
Solution:
  1. Step 1: Understand JWT standard claims

    Common claims include 'sub' (subject), 'iat' (issued at), 'exp' (expiration), and 'iss' (issuer).
  2. Step 2: Identify meaning of 'iat'

    'iat' stands for 'issued at' and marks the time the token was created.
  3. Final Answer:

    Issued at time -> Option B
  4. Quick Check:

    'iat' = issued at time [OK]
Quick Trick: 'iat' means when token was issued [OK]
Common Mistakes:
MISTAKES
  • Confusing 'iat' with expiration time
  • Mixing 'sub' and 'iss' claims
  • Assuming 'iat' is issuer

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes