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.JsonWebToken
A default implementation ofJsonWebToken
.- Author:
- Arjan Tijms
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonWebTokenImpl(String callerName, Map<String,jakarta.json.JsonValue> claims)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getClaim(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:
getClaim
in interfaceorg.eclipse.microprofile.jwt.JsonWebToken
-
-