Skip to content

Commit

Permalink
Document iat claim for jwt.Expected
Browse files Browse the repository at this point in the history
  • Loading branch information
shaxbee authored Feb 29, 2020
1 parent 708a9fe commit 9c7c683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwt/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type Expected struct {
Audience Audience
// ID matches the "jti" claim exactly.
ID string
// Time matches the "exp" and "nbf" claims with leeway.
// Time matches the "exp", "nbf" and "iat" claims with leeway.
Time time.Time
}

Expand Down

0 comments on commit 9c7c683

Please sign in to comment.