def verify.jwks
import bend-kit-jwt@0.11.0.1/jwt.bend as Jwtimport Base
import bend-kit-hairpin@0.13.0.1/hairpin.bend as Hairpin
import bend-kit-json@0.7.0.0/json.bend as Json
921# verify with the key the token's kid names in the set. The alg is pinned before any fetch.
922# The client and the set (refreshed or not) always come back.
923def verify.jwks(+p: Policy, c: Hairpin.Client, s: Jwks, token: String, +now: U32) ->
924 IO(Hairpin.Client & Jwks & Result<&1, &1, Err, Json.Val>):
925 jwks.parsed(p, c, s, now, parse(token))
Uses (12)
Used by (0)
No other definition uses this definition.