Package com.auth0.jwt.impl
Interface ExpectedCheckHolder
-
public interface ExpectedCheckHolderThis 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.StringgetClaimName()The claim name that will be checked.booleanverify(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
-
-