Class ScopeBuilder
java.lang.Object
com.github.scribejava.core.builder.ScopeBuilder
OAuth2.0 Scope Builder. It allows specifying multiple scopes one by one. It will combine them in the single
space-delimited string. OAuth 2.0 standard specifies space as a delimiter for scopes
(https://tools.ietf.org/html/rfc6749#section-3.3). If you found API, that do not support spaces, but support
something else, let ScribeJava know (submit the issue here https://github.com/scribejava/scribejava/issues) and use
your own concatenated string as a temporary workaround.
-
Constructor Summary
ConstructorsConstructorDescriptionScopeBuilder
(String scope) ScopeBuilder
(String... scopes) ScopeBuilder
(Collection<String> scopes) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
final ScopeBuilder
final ScopeBuilder
withScopes
(String... scopes) final ScopeBuilder
withScopes
(Collection<String> scopes)
-
Constructor Details
-
ScopeBuilder
public ScopeBuilder() -
ScopeBuilder
-
ScopeBuilder
-
ScopeBuilder
-
-
Method Details
-
withScope
-
withScopes
-
withScopes
-
build
-