Interface ExpectedCheckHolder


  • public interface ExpectedCheckHolder
    This holds the checks that are run to verify a JWT.
    • 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 done
        decodedJWT - the JWT on which verification is done
        Returns:
        whether the verification passed or not