Package com.auth0.jwt.impl
Interface ExpectedCheckHolder
-
public interface ExpectedCheckHolder
This holds the checks that are run to verify a JWT.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getClaimName()
The claim name that will be checked.boolean
verify(Claim claim, DecodedJWT decodedJWT)
The verification that will be run.
-
-
-
Method Detail
-
getClaimName
java.lang.String getClaimName()
The claim name that will be checked.- Returns:
- the claim name
-
verify
boolean verify(Claim claim, DecodedJWT decodedJWT)
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
-
-