Package com.auth0.jwt.impl
Interface ExpectedCheckHolder
public interface ExpectedCheckHolder
This holds the checks that are run to verify a JWT.
-
Method Summary
Modifier and TypeMethodDescriptionThe claim name that will be checked.boolean
verify
(Claim claim, DecodedJWT decodedJWT) The verification that will be run.
-
Method Details
-
getClaimName
String getClaimName()The claim name that will be checked.- Returns:
- the claim name
-
verify
The verification that will be run.- Parameters:
claim
- the claim for which verification is donedecodedJWT
- the JWT on which verification is done- Returns:
- whether the verification passed or not
-