Interface ExpectedCheckHolder


public interface ExpectedCheckHolder
This holds the checks that are run to verify a JWT.
  • Method Summary

    Modifier and Type
    Method
    Description
    The 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

      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