Package org.eclipse.microprofile.jwt
Class ClaimLiteral
- java.lang.Object
-
- jakarta.enterprise.util.AnnotationLiteral<Claim>
-
- org.eclipse.microprofile.jwt.ClaimLiteral
-
- All Implemented Interfaces:
Annotation
public class ClaimLiteral extends jakarta.enterprise.util.AnnotationLiteral<Claim> implements Claim
Annotation literal forClaim
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClaimLiteral()
Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Claims
standard()
String
value()
-
Methods inherited from class jakarta.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode, toString
-
-
-
-
Constructor Detail
-
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
-
-