The basic usage of the MP-JWT API is to inject JsonWebToken, its ClaimValue, or both. In this section, we present snippets of typical usage. This book's code for this section is available at https://github.com/PacktPublishing/Hands-On-Enterprise-Java-Microservices-with-Eclipse-MicroProfile/tree/master/Chapter04-jwtpropagation.
Sample code that uses MP-JWT
Get Hands-On Enterprise Java Microservices with Eclipse MicroProfile now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.