Skip to content

Commit

Permalink
update comments to include iat (#1216) (#1217)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Riley <100374028+cscochris@users.noreply.github.com>
  • Loading branch information
lestrrat and cscochris authored Oct 23, 2024
1 parent 56abeea commit 9f5ef60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions jwt/options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ options:
interface: ValidateOption
argument_type: time.Duration
comment: |
WithAcceptableSkew specifies the duration in which exp and nbf
WithAcceptableSkew specifies the duration in which exp, iat and nbf
claims may differ by. This value should be positive
- ident: Truncation
interface: ValidateOption
Expand All @@ -61,7 +61,7 @@ options:
argument_type: Clock
comment: |
WithClock specifies the `Clock` to be used when verifying
exp and nbf claims.
exp, iat and nbf claims.
- ident: Context
interface: ValidateOption
argument_type: context.Context
Expand Down
4 changes: 2 additions & 2 deletions jwt/options_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9f5ef60

Please sign in to comment.