Skip to content

Commit

Permalink
remove unused configuration item (Azure#17618)
Browse files Browse the repository at this point in the history
* remove unused properties
  • Loading branch information
zhichengliu12581 authored Nov 17, 2020
1 parent c417552 commit fd7f230
Showing 1 changed file with 0 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<String> scope = Arrays.asList("openid", "profile", "https://graph.microsoft.com/user.read");

/**
* App ID URI which might be used in the <code>"aud"</code> claim of an <code>id_token</code>.
*/
Expand Down Expand Up @@ -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<String> scope) {
this.scope = scope;
}

/**
* @return scope
* @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead.
*/
@Deprecated
public List<String> getScope() {
return scope;
}

@Deprecated
public void setActiveDirectoryGroups(List<String> activeDirectoryGroups) {
this.userGroup.setAllowedGroups(activeDirectoryGroups);
Expand Down

0 comments on commit fd7f230

Please sign in to comment.