Closed lionello closed 7 years ago
Often times the decode key depends on the contents of the JWT. This patch allows you to provide a callback to decode, which receives the decoded JOSE headers. Typically the headers provide a hint to which client/key has signed the token.
decode
Often times the decode key depends on the contents of the JWT. This patch allows you to provide a callback to
decode
, which receives the decoded JOSE headers. Typically the headers provide a hint to which client/key has signed the token.