View Source Joken.Claim (Joken v2.5.0)

Structure for a dynamic claim. It is used for holding functions that generate and validate claims.

Link to this section Summary

Link to this section Types

@type t() :: %Joken.Claim{
  generate: (... -> any()) | nil,
  options: list(),
  validate: (... -> any()) | nil
}