Package org.eclipse.microprofile.jwt
Class ClaimLiteral
- All Implemented Interfaces:
Annotation
Annotation literal for
Claim
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a default value Claim literalClaimLiteral
(String value) Construct a Claim literal from a string name of a claimClaimLiteral
(Claims standard) Construct a Claim literal from a standard claim defined in Claims -
Method Summary
Methods inherited from class javax.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Constructor Details
-
ClaimLiteral
public ClaimLiteral()Creates a default value Claim literal -
ClaimLiteral
Construct a Claim literal from a string name of a claim- Parameters:
value
- - the string name for claim
-
ClaimLiteral
Construct a Claim literal from a standard claim defined in Claims- Parameters:
standard
- - the claim enum value
-
-
Method Details
-
value
-
standard
-