From 61eb84d4cb4d9bd5d97953d39a138b60c765fa0f Mon Sep 17 00:00:00 2001 From: Sergey Beryozkin Date: Fri, 1 Dec 2023 18:53:28 +0000 Subject: [PATCH] Use Claims enum in security-openid-connect-web-authentication-quickstart --- .../openid/connect/web/authentication/TokenResource.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/security-openid-connect-web-authentication-quickstart/src/main/java/org/acme/security/openid/connect/web/authentication/TokenResource.java b/security-openid-connect-web-authentication-quickstart/src/main/java/org/acme/security/openid/connect/web/authentication/TokenResource.java index 809857955b..b1a35cd37e 100644 --- a/security-openid-connect-web-authentication-quickstart/src/main/java/org/acme/security/openid/connect/web/authentication/TokenResource.java +++ b/security-openid-connect-web-authentication-quickstart/src/main/java/org/acme/security/openid/connect/web/authentication/TokenResource.java @@ -5,6 +5,7 @@ import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; +import org.eclipse.microprofile.jwt.Claims; import org.eclipse.microprofile.jwt.JsonWebToken; import io.quarkus.oidc.IdToken; @@ -45,7 +46,7 @@ public String getTokens() { .append("") .append("