public interface ScopeAuthorization extends AuthorizationProvider
Modifier and Type | Method and Description |
---|---|
static ScopeAuthorization |
create(String scopeSeparator)
Factory method to create a Authorization provider for Oauth 2.0 scopes.
|
String |
encode(List<String> scopes)
Returns a String with the given scopes concatenated with the given separator.
|
String |
separator()
Returns the configured separator.
|
create, getAuthorizations, getAuthorizations, getId
static ScopeAuthorization create(String scopeSeparator)
scopeSeparator
- the scope separator e.g.: " "
, ","
, "+"
String separator()
Copyright © 2020 Eclipse. All rights reserved.