The current API appears to require the user to query the JWT header, then lookup the algorithm based on the name, and finally pass this function reference to Validate().
Could jose do this automatically? This would reduce the risk of mistakes. For example, some users might hardcode the RS256 algorithm, whereas real tokens may use a different algorithm.