1
0
mirror of synced 2026-08-05 17:57:15 +00:00

Revert "Add ClientRegistration from OpenID Connect Discovery"

This reverts commit 0598d47732.
This commit is contained in:
Rob Winch
2018-05-18 09:20:51 -05:00
parent 6c45e4c8f4
commit 9fe0f50e3c
4 changed files with 0 additions and 343 deletions
@@ -21,7 +21,6 @@ import org.springframework.security.oauth2.core.oidc.OidcScopes;
import org.springframework.util.Assert;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;
@@ -325,20 +324,6 @@ public final class ClientRegistration {
return this;
}
/**
* Sets the scope(s) used for the client.
*
* @param scope the scope(s) used for the client
* @return the {@link Builder}
*/
public Builder scope(Collection<String> scope) {
if (scope != null && !scope.isEmpty()) {
this.scopes = Collections.unmodifiableSet(
new LinkedHashSet<>(scope));
}
return this;
}
/**
* Sets the uri for the authorization endpoint.
*