From 7b759a2ec5d45f4b4c236f8b8066e66ee8803137 Mon Sep 17 00:00:00 2001 From: ThomasKasene <6691406+ThomasKasene@users.noreply.github.com> Date: Wed, 13 Nov 2024 16:30:18 +0100 Subject: [PATCH] Added a constant for DPOP in OAuth2AccessToken.TokenType Issue gh-14915 --- .../springframework/security/oauth2/core/OAuth2AccessToken.java | 1 + 1 file changed, 1 insertion(+) diff --git a/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/OAuth2AccessToken.java b/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/OAuth2AccessToken.java index 8ec26b60238..121585c3ff4 100644 --- a/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/OAuth2AccessToken.java +++ b/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/OAuth2AccessToken.java @@ -102,6 +102,7 @@ public static final class TokenType implements Serializable { private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID; public static final TokenType BEARER = new TokenType("Bearer"); + public static final TokenType DPOP = new TokenType("DPoP"); private final String value;