Class JsonWebTokenImpl
- java.lang.Object
-
- jakarta.security.enterprise.CallerPrincipal
-
- fish.payara.microprofile.jwtauth.jwt.JsonWebTokenImpl
-
- All Implemented Interfaces:
Serializable,Principal,org.eclipse.microprofile.jwt.JsonWebToken
public class JsonWebTokenImpl extends jakarta.security.enterprise.CallerPrincipal implements org.eclipse.microprofile.jwt.JsonWebTokenA default implementation ofJsonWebToken.- Author:
- Arjan Tijms
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsonWebTokenImpl()JsonWebTokenImpl(String callerName, Map<String,jakarta.json.JsonValue> claims)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetClaim(String claimName)Set<String>getClaimNames()Map<String,jakarta.json.JsonValue>getClaims()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getClaim
public <T> T getClaim(String claimName)
- Specified by:
getClaimin interfaceorg.eclipse.microprofile.jwt.JsonWebToken
-
-