jose.jwt
decode(token) -> header, claims
token
header
claims
Decode a token's header and claims without verifying it
Nothing it returns is trusted; it reads a kid or an iss before a key is chosen.
kid
iss