Skip to content

Commit fd7f230

Browse files
remove unused configuration item (Azure#17618)
* remove unused properties
1 parent c417552 commit fd7f230

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

sdk/spring/azure-spring-boot/src/main/java/com/azure/spring/autoconfigure/aad/AADAuthenticationProperties.java

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import javax.annotation.PostConstruct;
1414
import javax.validation.constraints.NotEmpty;
1515
import java.util.ArrayList;
16-
import java.util.Arrays;
1716
import java.util.Collections;
1817
import java.util.HashMap;
1918
import java.util.List;
@@ -60,20 +59,6 @@ public class AADAuthenticationProperties {
6059
*/
6160
private String clientSecret;
6261

63-
/**
64-
* Redirection Endpoint: Used by the authorization server
65-
* to return responses containing authorization credentials to the client via the resource owner user-agent.
66-
*/
67-
private String redirectUriTemplate;
68-
69-
/**
70-
* Optional. scope doc:
71-
* https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#scopes-and-permissions
72-
* @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead.
73-
*/
74-
@Deprecated
75-
private List<String> scope = Arrays.asList("openid", "profile", "https://graph.microsoft.com/user.read");
76-
7762
/**
7863
* App ID URI which might be used in the <code>"aud"</code> claim of an <code>id_token</code>.
7964
*/
@@ -312,32 +297,6 @@ public void setClientSecret(String clientSecret) {
312297
this.clientSecret = clientSecret;
313298
}
314299

315-
public String getRedirectUriTemplate() {
316-
return redirectUriTemplate;
317-
}
318-
319-
public void setRedirectUriTemplate(String redirectUriTemplate) {
320-
this.redirectUriTemplate = redirectUriTemplate;
321-
}
322-
323-
/**
324-
* @param scope scope
325-
* @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead.
326-
*/
327-
@Deprecated
328-
public void setScope(List<String> scope) {
329-
this.scope = scope;
330-
}
331-
332-
/**
333-
* @return scope
334-
* @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead.
335-
*/
336-
@Deprecated
337-
public List<String> getScope() {
338-
return scope;
339-
}
340-
341300
@Deprecated
342301
public void setActiveDirectoryGroups(List<String> activeDirectoryGroups) {
343302
this.userGroup.setAllowedGroups(activeDirectoryGroups);

0 commit comments

Comments
 (0)