Phoenix.Token.sign/4

Parsed documentation:
View on GitHub
Encodes data and signs it resulting in a token you can send to clients.

## Options

  * `:key_iterations` - option passed to `Plug.Crypto.KeyGenerator`
    when generating the encryption and signing keys. Defaults to 1000
  * `:key_length` - option passed to `Plug.Crypto.KeyGenerator`
    when generating the encryption and signing keys. Defaults to 32
  * `: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(:seconds)`
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.