Remove OAuth2AuthorizationAttributeNames.CODE

Issue gh-213
This commit is contained in:
Joe Grandja 2021-02-08 11:35:01 -05:00
parent bffcbc5440
commit 41541912e6

View File

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