Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<CredentialStore> |
__TYPE_ARG |
Constructor and Description |
---|
CredentialStore(CredentialStore delegate) |
CredentialStore(Object delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
generateId()
Generates a unique ID that doesn't contain any user identifiable information.
|
CredentialStore |
getDelegate() |
CredentialStore |
getUserCredentialsById(String rawId)
Retrieves the user credentials from a backend given the user unique identifier.
|
CredentialStore |
getUserCredentialsById(String rawId,
Handler<AsyncResult<List<JsonObject>>> handler)
Retrieves the user credentials from a backend given the user unique identifier.
|
CredentialStore |
getUserCredentialsByName(String username)
Retrieves the user credentials from a backend given the user unique identifier.
|
CredentialStore |
getUserCredentialsByName(String username,
Handler<AsyncResult<List<JsonObject>>> handler)
Retrieves the user credentials from a backend given the user unique identifier.
|
int |
hashCode() |
static CredentialStore |
newInstance(CredentialStore 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.
|
Completable |
rxUpdateUserCredential(String id,
JsonObject data,
boolean upsert)
Update the user credential.
|
String |
toString() |
CredentialStore |
updateUserCredential(String id,
JsonObject data,
boolean upsert)
Update the user credential.
|
CredentialStore |
updateUserCredential(String id,
JsonObject data,
boolean upsert,
Handler<AsyncResult<Void>> handler)
Update the user credential.
|
public static final io.vertx.lang.rx.TypeArg<CredentialStore> __TYPE_ARG
public CredentialStore(CredentialStore delegate)
public CredentialStore(Object delegate)
public CredentialStore getDelegate()
public String generateId()
public CredentialStore getUserCredentialsByName(String username, Handler<AsyncResult<List<JsonObject>>> handler)
username
- user unique name.handler
- the handler for the result callback.public CredentialStore getUserCredentialsByName(String username)
username
- user unique name.public Single<List<JsonObject>> rxGetUserCredentialsByName(String username)
username
- user unique name.public CredentialStore getUserCredentialsById(String rawId, Handler<AsyncResult<List<JsonObject>>> handler)
rawId
- user unique rawId.handler
- the handler for the result callback.public CredentialStore getUserCredentialsById(String rawId)
rawId
- user unique rawId.public Single<List<JsonObject>> rxGetUserCredentialsById(String rawId)
rawId
- user unique rawId.public CredentialStore 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 CredentialStore 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 static CredentialStore newInstance(CredentialStore arg)
Copyright © 2020 Eclipse. All rights reserved.