Class JwtTokenParser
- java.lang.Object
-
- fish.payara.microprofile.jwtauth.jwt.JwtTokenParser
-
public class JwtTokenParser extends Object
Parses a JWT bearer token and validates it according to the MP-JWT rules.- Author:
- Arjan Tijms
-
-
Constructor Summary
Constructors Constructor Description JwtTokenParser()
JwtTokenParser(Optional<Boolean> enableNamespacedClaims, Optional<String> customNamespace, Optional<Boolean> disableTypeVerification)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonWebTokenImpl
parse(String bearerToken, boolean encryptionRequired, JwtPublicKeyStore publicKeyStore, String acceptedIssuer, JwtPrivateKeyStore privateKeyStore)
-
-
-
Method Detail
-
parse
public JsonWebTokenImpl parse(String bearerToken, boolean encryptionRequired, JwtPublicKeyStore publicKeyStore, String acceptedIssuer, JwtPrivateKeyStore privateKeyStore) throws JWTProcessingException
- Throws:
JWTProcessingException
-
-