View Source Joken.Claim (Joken v2.6.1)

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

Summary

Types

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