浏览代码

Deprecate OAuth2TokenIntrospectionClaimAccessor

Closes gh-597
Joe Grandja 3 年之前
父节点
当前提交
30d7846122

+ 2 - 0
oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/core/OAuth2TokenIntrospectionClaimAccessor.java

@@ -41,7 +41,9 @@ import java.util.List;
  * @see OAuth2TokenIntrospectionClaimNames
  * @see <a target="_blank" href=
  * "https://tools.ietf.org/html/rfc7662#section-2.2">Introspection Response</a>
+ * @deprecated See <a target="_blank" href="https://github.com/spring-projects/spring-authorization-server/issues/597">gh-597</a>
  */
+@Deprecated
 public interface OAuth2TokenIntrospectionClaimAccessor extends ClaimAccessor {
 
 	/**

+ 2 - 0
oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/core/OAuth2TokenIntrospectionClaimNames.java

@@ -34,7 +34,9 @@ package org.springframework.security.oauth2.core;
  *
  * @author Josh Cummings
  * @since 5.2
+ * @deprecated See <a target="_blank" href="https://github.com/spring-projects/spring-authorization-server/issues/597">gh-597</a>
  */
+@Deprecated
 public interface OAuth2TokenIntrospectionClaimNames {
 
 	/**