View Source JWT.Claim.Jti (yajwt v1.4.1)

JWT ID

see http://tools.ietf.org/html/rfc7519#section-4.1.7

Link to this section Summary

Functions

Predicate to reject a jti claim that does not match the expected JTI

Link to this section Functions

Predicate to reject a jti claim that does not match the expected JTI

example

Example

iex> Jti.reject?("jwt_id", %{iss: "other jwt_id"})
true

Returns true or false