Skip to content

Commit

Permalink
Fix doc for signed_at option (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
Schultzer authored May 1, 2024
1 parent 2992c69 commit b867348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plug/crypto.ex
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ defmodule Plug.Crypto do
* `:key_digest` - option passed to `Plug.Crypto.KeyGenerator`
when generating the encryption and signing keys. Defaults to `:sha256`
* `:signed_at` - set the timestamp of the token in seconds.
Defaults to `System.system_time(:second)`
Defaults to `System.system_time(:millisecond)`
* `:max_age` - the default maximum age of the token. Defaults to
`86400` seconds (1 day) and it may be overridden on `verify/4`.
Expand Down Expand Up @@ -196,7 +196,7 @@ defmodule Plug.Crypto do
* `:key_digest` - option passed to `Plug.Crypto.KeyGenerator`
when generating the encryption and signing keys. Defaults to `:sha256`
* `:signed_at` - set the timestamp of the token in seconds.
Defaults to `System.system_time(:second)`
Defaults to `System.system_time(:millisecond)`
* `:max_age` - the default maximum age of the token. Defaults to
`86400` seconds (1 day) and it may be overridden on `decrypt/4`.
Expand Down

0 comments on commit b867348

Please sign in to comment.