diff --git a/sdk/spring/azure-spring-boot/src/main/java/com/azure/spring/autoconfigure/aad/AADAuthenticationProperties.java b/sdk/spring/azure-spring-boot/src/main/java/com/azure/spring/autoconfigure/aad/AADAuthenticationProperties.java index 780ccc2eab89c..3ff646b13c518 100644 --- a/sdk/spring/azure-spring-boot/src/main/java/com/azure/spring/autoconfigure/aad/AADAuthenticationProperties.java +++ b/sdk/spring/azure-spring-boot/src/main/java/com/azure/spring/autoconfigure/aad/AADAuthenticationProperties.java @@ -13,7 +13,6 @@ import javax.annotation.PostConstruct; import javax.validation.constraints.NotEmpty; import java.util.ArrayList; -import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; @@ -60,20 +59,6 @@ public class AADAuthenticationProperties { */ private String clientSecret; - /** - * Redirection Endpoint: Used by the authorization server - * to return responses containing authorization credentials to the client via the resource owner user-agent. - */ - private String redirectUriTemplate; - - /** - * Optional. scope doc: - * https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#scopes-and-permissions - * @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead. - */ - @Deprecated - private List scope = Arrays.asList("openid", "profile", "https://graph.microsoft.com/user.read"); - /** * App ID URI which might be used in the "aud" claim of an id_token. */ @@ -312,32 +297,6 @@ public void setClientSecret(String clientSecret) { this.clientSecret = clientSecret; } - public String getRedirectUriTemplate() { - return redirectUriTemplate; - } - - public void setRedirectUriTemplate(String redirectUriTemplate) { - this.redirectUriTemplate = redirectUriTemplate; - } - - /** - * @param scope scope - * @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead. - */ - @Deprecated - public void setScope(List scope) { - this.scope = scope; - } - - /** - * @return scope - * @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead. - */ - @Deprecated - public List getScope() { - return scope; - } - @Deprecated public void setActiveDirectoryGroups(List activeDirectoryGroups) { this.userGroup.setAllowedGroups(activeDirectoryGroups);