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

Copy Markdown View Source

Tool's client_id not the only JWT aud, or azp present and not client_id [Sec §5.1.3 step 3; Sec §5.1.3 step 5].

Summary

Functions

exception(args)

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

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

Keys

  • :claim
  • :expected
  • :actual
  • :spec_ref