yajwt v1.1.0 JWT.Claim.Aud
Audience
see http://tools.ietf.org/html/rfc7519#section-4.1.3
Link to this section Summary
Functions
Predicate to reject an audience claim value that does not include the recipient
Link to this section Functions
Link to this function
reject?(aud, options)
Predicate to reject an audience claim value that does not include the recipient
Example
iex> recipient = "recipient"
...> aud = [recipient]
...> Aud.reject?(aud, %{aud: recipient})
false
Returns true
or false