Jwt.aud.bad: def of bend-kit-jwt@0.11.0.1 Import: import bend-kit-jwt@0.11.0.1/jwt.bend as Jwt Lines 380-390 of bend-kit-jwt@0.11.0.1/jwt.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-jwt@0.11.0.1/jwt.bend&start_line=380&end_line=390 import Base # RFC 7519 ยง4.1.3: a token with an aud that does not name us fails, as does one without aud when we want one. def aud.bad(want: Maybe<&2, String>, got: Maybe<&2, List<&2, String>>) -> Bool: match want got: case None{} None{}: False{} case None{} Some{l}: True{} case Some{w} None{}: True{} case Some{w} Some{l}: Bool.not(aud.has(l, octets(w))) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-kit-jwt@0.11.0.1/jwt.bend&name=aud.has https://jend.leeeet.dev/definition.txt?path=bend-kit-jwt@0.11.0.1/jwt.bend&name=octets