Initialize a Verification instance using the given Algorithm. @param algorithm the Algorithm to use on the JWT verification. @return a Verification instance to configure. @throws IllegalArgumentException if the provided algorithm is null.
(Algorithm algorithm)
| 42 | * @throws IllegalArgumentException if the provided algorithm is null. |
| 43 | */ |
| 44 | static Verification init(Algorithm algorithm) throws IllegalArgumentException { |
| 45 | return new BaseVerification(algorithm); |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * {@link Verification} implementation that accepts all the expected Claim values for verification, and |
no outgoing calls