verifies the tokens is valid, using the algorithm given instead of the alg field in the claims
the encoded token
the secret key used to sign the token
the algorithm to be used to verify the token
a decoded Token
See Implementation
verifies the tokens is valid, using the algorithm given instead of the alg field in the claims