Ltix.Errors.Security.TokenExpired exception (Ltix v0.2.0)

Copy Markdown View Source

Token exp claim is in the past, or iat claim is older than the maximum token age [Sec §5.1.3 steps 7-8].

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Ltix.Errors.Security.TokenExpired{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  spec_ref: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Ltix.Errors.Security.TokenExpired without raising it.

Keys

  • :spec_ref