| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<AuthStore> |
__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
generateId()
Generates a unique ID that doesn't contain any user identifiable information.
|
AuthStore |
getDelegate() |
AuthStore |
getUserCredentialsById(String rawId)
Retrieves the user credentials from a backend given the user unique identifier.
|
AuthStore |
getUserCredentialsById(String rawId,
Handler<AsyncResult<List<JsonObject>>> handler)
Retrieves the user credentials from a backend given the user unique identifier.
|
AuthStore |
getUserCredentialsByName(String username)
Retrieves the user credentials from a backend given the user unique identifier.
|
AuthStore |
getUserCredentialsByName(String username,
Handler<AsyncResult<List<JsonObject>>> handler)
Retrieves the user credentials from a backend given the user unique identifier.
|
AuthStore |
getUserPermissions(String id)
Get the user permissions from the storage.
|
AuthStore |
getUserPermissions(String id,
Handler<AsyncResult<List<String>>> handler)
Get the user permissions from the storage.
|
AuthStore |
getUserRoles(String id)
Get the user roles from the storage.
|
AuthStore |
getUserRoles(String id,
Handler<AsyncResult<List<String>>> handler)
Get the user roles from the storage.
|
int |
hashCode() |
static AuthStore |
newInstance(AuthStore arg) |
Single<List<JsonObject>> |
rxGetUserCredentialsById(String rawId)
Retrieves the user credentials from a backend given the user unique identifier.
|
Single<List<JsonObject>> |
rxGetUserCredentialsByName(String username)
Retrieves the user credentials from a backend given the user unique identifier.
|
Single<List<String>> |
rxGetUserPermissions(String id)
Get the user permissions from the storage.
|
Single<List<String>> |
rxGetUserRoles(String id)
Get the user roles from the storage.
|
Completable |
rxUpdateUserCredential(String id,
JsonObject data,
boolean upsert)
Update the user credential.
|
String |
toString() |
AuthStore |
updateUserCredential(String id,
JsonObject data,
boolean upsert)
Update the user credential.
|
AuthStore |
updateUserCredential(String id,
JsonObject data,
boolean upsert,
Handler<AsyncResult<Void>> handler)
Update the user credential.
|
public static final io.vertx.lang.rx.TypeArg<AuthStore> __TYPE_ARG
public AuthStore(AuthStore delegate)
public AuthStore getDelegate()
public String generateId()
public AuthStore getUserCredentialsByName(String username, Handler<AsyncResult<List<JsonObject>>> handler)
username - user unique name.handler - the handler for the result callback.public AuthStore getUserCredentialsByName(String username)
username - user unique name.public Single<List<JsonObject>> rxGetUserCredentialsByName(String username)
username - user unique name.public AuthStore getUserCredentialsById(String rawId, Handler<AsyncResult<List<JsonObject>>> handler)
rawId - user unique rawId.handler - the handler for the result callback.public AuthStore getUserCredentialsById(String rawId)
rawId - user unique rawId.public Single<List<JsonObject>> rxGetUserCredentialsById(String rawId)
rawId - user unique rawId.public AuthStore updateUserCredential(String id, JsonObject data, boolean upsert, Handler<AsyncResult<Void>> handler)
id - the unique user identifier.data - the data to update.upsert - insert if not present.handler - the handler for the result callback.public AuthStore updateUserCredential(String id, JsonObject data, boolean upsert)
id - the unique user identifier.data - the data to update.upsert - insert if not present.public Completable rxUpdateUserCredential(String id, JsonObject data, boolean upsert)
id - the unique user identifier.data - the data to update.upsert - insert if not present.public AuthStore getUserRoles(String id, Handler<AsyncResult<List<String>>> handler)
id - the unique user identifier.handler - the handler for the result callback.public AuthStore getUserRoles(String id)
id - the unique user identifier.public Single<List<String>> rxGetUserRoles(String id)
id - the unique user identifier.public AuthStore getUserPermissions(String id, Handler<AsyncResult<List<String>>> handler)
id - the unique user identifier.handler - the handler for the result callback.public AuthStore getUserPermissions(String id)
id - the unique user identifier.public Single<List<String>> rxGetUserPermissions(String id)
id - the unique user identifier.Copyright © 2019 Eclipse. All rights reserved.