yajwt v1.1.0 JWT.Claim.Jti

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

Link to this function reject?(jti, arg2)

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

Example

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

Returns true or false