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

Copy Markdown View Source

JWT alg is not RS256 [Sec §5.1.3 step 6; Sec §6.1].

Summary

Functions

exception(args)

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

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

Keys

  • :algorithm
  • :spec_ref