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}. */