View Source JWT.Claim.Aud (yajwt v1.4.2)

Audience

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

Summary

Functions

Predicate to reject an audience claim value that does not include the recipient

Functions

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