Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit 18864eb

Browse files
shaxbeembyczkowski
authored andcommitted
Document iat claim for jwt.Expected
Cherry-picked from #289
1 parent 5ac6eba commit 18864eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jwt/validation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type Expected struct {
3535
Audience Audience
3636
// ID matches the "jti" claim exactly.
3737
ID string
38-
// Time matches the "exp" and "nbf" claims with leeway.
38+
// Time matches the "exp", "nbf" and "iat" claims with leeway.
3939
Time time.Time
4040
}
4141

0 commit comments

Comments
 (0)