浏览代码

Remove deprecations in ClientRegistration

Closes gh-11518
Joe Grandja 3 年之前
父节点
当前提交
e12823095f

+ 0 - 22
oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/registration/ClientRegistration.java

@@ -110,16 +110,6 @@ public final class ClientRegistration implements Serializable {
 		return this.authorizationGrantType;
 	}
 
-	/**
-	 * Returns the uri (or uri template) for the redirection endpoint.
-	 * @return the uri (or uri template) for the redirection endpoint
-	 * @deprecated Use {@link #getRedirectUri()} instead
-	 */
-	@Deprecated
-	public String getRedirectUriTemplate() {
-		return getRedirectUri();
-	}
-
 	/**
 	 * Returns the uri (or uri template) for the redirection endpoint.
 	 *
@@ -443,18 +433,6 @@ public final class ClientRegistration implements Serializable {
 			return this;
 		}
 
-		/**
-		 * Sets the uri (or uri template) for the redirection endpoint.
-		 * @param redirectUriTemplate the uri (or uri template) for the redirection
-		 * endpoint
-		 * @return the {@link Builder}
-		 * @deprecated Use {@link #redirectUri(String)} instead
-		 */
-		@Deprecated
-		public Builder redirectUriTemplate(String redirectUriTemplate) {
-			return redirectUri(redirectUriTemplate);
-		}
-
 		/**
 		 * Sets the uri (or uri template) for the redirection endpoint.
 		 *