public class ScopeAuthorization extends AuthorizationProvider
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<ScopeAuthorization> |
__TYPE_ARG |
| Constructor and Description |
|---|
ScopeAuthorization(ScopeAuthorization delegate) |
| 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.
|
boolean |
equals(Object o) |
ScopeAuthorization |
getDelegate() |
int |
hashCode() |
static ScopeAuthorization |
newInstance(ScopeAuthorization arg) |
String |
separator()
Returns the configured separator.
|
String |
toString() |
create, getAuthorizations, getAuthorizations, getId, newInstance, rxGetAuthorizationspublic static final io.vertx.lang.rx.TypeArg<ScopeAuthorization> __TYPE_ARG
public ScopeAuthorization(ScopeAuthorization delegate)
public String toString()
toString in class AuthorizationProviderpublic boolean equals(Object o)
equals in class AuthorizationProviderpublic int hashCode()
hashCode in class AuthorizationProviderpublic ScopeAuthorization getDelegate()
getDelegate in class AuthorizationProviderpublic static ScopeAuthorization create(String scopeSeparator)
scopeSeparator - the scope separator e.g.: " ", ",", "+"public String separator()
public String encode(List<String> scopes)
scopes - a list of scopespublic static ScopeAuthorization newInstance(ScopeAuthorization arg)
Copyright © 2019 Eclipse. All rights reserved.