From 41541912e646fed2d68cfe3059d9aab4fd02b267 Mon Sep 17 00:00:00 2001 From: Joe Grandja Date: Mon, 8 Feb 2021 11:35:01 -0500 Subject: [PATCH] Remove OAuth2AuthorizationAttributeNames.CODE Issue gh-213 --- .../authorization/OAuth2AuthorizationAttributeNames.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/OAuth2AuthorizationAttributeNames.java b/oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/OAuth2AuthorizationAttributeNames.java index 4f661ef..0274736 100644 --- a/oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/OAuth2AuthorizationAttributeNames.java +++ b/oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/OAuth2AuthorizationAttributeNames.java @@ -18,7 +18,6 @@ package org.springframework.security.oauth2.server.authorization; import org.springframework.security.oauth2.core.OAuth2AccessToken; import org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest; -import org.springframework.security.oauth2.core.endpoint.OAuth2ParameterNames; /** * The name of the attributes that may be contained in the @@ -35,12 +34,6 @@ public interface OAuth2AuthorizationAttributeNames { */ String STATE = OAuth2Authorization.class.getName().concat(".STATE"); - /** - * The name of the attribute used for the {@link OAuth2ParameterNames#CODE} parameter. - */ - @Deprecated - String CODE = OAuth2Authorization.class.getName().concat(".CODE"); - /** * The name of the attribute used for the {@link OAuth2AuthorizationRequest}. */