Interface ClaimValue<T>

Type Parameters:
T - the expected type of the claim
All Superinterfaces:
Principal

public interface ClaimValue<T> extends Principal
A representation of a claim in a JsonWebToken
  • Method Details

    • getName

      String getName()
      Access the name of the claim.
      Specified by:
      getName in interface Principal
      Returns:
      The name of the claim as seen in the JsonWebToken content
    • getValue

      T getValue()
      Access the value of the claim.
      Returns:
      the value of the claim.