Provide an embedded Docker container for local development #1
@ -15,6 +15,9 @@ public record ClientRow(
|
|||||||
String clientSecret)
|
String clientSecret)
|
||||||
{
|
{
|
||||||
public Set<String> scopeSet() {
|
public Set<String> scopeSet() {
|
||||||
|
if (scopes == null) {
|
||||||
|
return Set.of();
|
||||||
|
}
|
||||||
return Arrays.stream(this.scopes.split(" "))
|
return Arrays.stream(this.scopes.split(" "))
|
||||||
.filter(Predicate.not(String::isBlank))
|
.filter(Predicate.not(String::isBlank))
|
||||||
.collect(Collectors.toUnmodifiableSet());
|
.collect(Collectors.toUnmodifiableSet());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user