verifyAlgorithmClaim

verifyAlgorithmClaim(token: String;
                     alg:   String): Boolean typeMethod;

The verifyAlgorithmClaim method of the JadeJWTValidator class parses the specified JSON Web Token for the algorithm (alg) claim and returns true if the claim is present and contains the value specified in the alg parameter; otherwise it returns false.

2020.0.01 and higher