Browse Source

Remove OAuth2AuthorizationAttributeNames.CODE

Issue gh-213
Joe Grandja 4 years ago
parent
commit
41541912e6

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