Class ClaimLiteral

java.lang.Object
javax.enterprise.util.AnnotationLiteral<Claim>
org.eclipse.microprofile.jwt.ClaimLiteral
All Implemented Interfaces:
Annotation

public class ClaimLiteral extends AnnotationLiteral<Claim> implements Claim
Annotation literal for Claim
See Also:
  • Constructor Details

    • ClaimLiteral

      public ClaimLiteral()
      Creates a default value Claim literal
    • ClaimLiteral

      public ClaimLiteral(String value)
      Construct a Claim literal from a string name of a claim
      Parameters:
      value - - the string name for claim
    • ClaimLiteral

      public ClaimLiteral(Claims standard)
      Construct a Claim literal from a standard claim defined in Claims
      Parameters:
      standard - - the claim enum value
  • Method Details

    • value

      public String value()
    • standard

      public Claims standard()