yajwt v1.1.0 JWT.Claim.Sub
Subject
see http://tools.ietf.org/html/rfc7519#section-4.1.2
Link to this section Summary
Functions
Predicate to reject a sub claim that does not match the expected subject
Link to this section Functions
Link to this function
reject?(sub, arg2)
Predicate to reject a sub claim that does not match the expected subject
Example
iex> Sub.reject?("subject", %{sub: "other subject"})
true
Returns true
or false