def check

bend-kit-jwt@0.11.0.1 · jwt.bend:634

import bend-kit-jwt@0.11.0.1/jwt.bend as Jwt
import Base
import bend-kit-json@0.7.0.0/json.bend as Json

634# The pinned alg, then the signature, then the claims.
635def check(+p: Policy, key: Key, +now: U32, parts: Parts) -> IO(Result<&1, &1, Err, Json.Val>):
636  Parts{+h, +f, v, input, sig} = parts
637  check.pinned(head.check(policy.alg(p), h), p, key, now, f, v, input, sig)

Uses (11)

Used by (2)