View Source JWT.Claim.Aud (yajwt v1.4.0)
Audience
Link to this section Summary
Functions
Predicate to reject an audience claim value that does not include the recipient
Link to this section Functions
Predicate to reject an audience claim value that does not include the recipient
example
Example
iex> recipient = "recipient"
...> aud = [recipient]
...> Aud.reject?(aud, %{aud: recipient})
false
Returns true
or false