public class CredentialStore extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<CredentialStore> |
__TYPE_ARG |
Constructor and Description |
---|
CredentialStore(io.vertx.ext.auth.webauthn.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.
|
io.vertx.ext.auth.webauthn.CredentialStore |
getDelegate() |
CredentialStore |
getUserCredentialsById(String rawId)
Retrieves the user credentials from a backend given the user unique identifier.
|
CredentialStore |
getUserCredentialsById(String rawId,
io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.core.json.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,
io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.core.json.JsonObject>>> handler)
Retrieves the user credentials from a backend given the user unique identifier.
|
int |
hashCode() |
static CredentialStore |
newInstance(io.vertx.ext.auth.webauthn.CredentialStore arg) |
rx.Single<List<io.vertx.core.json.JsonObject>> |
rxGetUserCredentialsById(String rawId)
Retrieves the user credentials from a backend given the user unique identifier.
|
rx.Single<List<io.vertx.core.json.JsonObject>> |
rxGetUserCredentialsByName(String username)
Retrieves the user credentials from a backend given the user unique identifier.
|
rx.Single<Void> |
rxUpdateUserCredential(String id,
io.vertx.core.json.JsonObject data,
boolean upsert)
Update the user credential.
|
String |
toString() |
CredentialStore |
updateUserCredential(String id,
io.vertx.core.json.JsonObject data,
boolean upsert)
Update the user credential.
|
CredentialStore |
updateUserCredential(String id,
io.vertx.core.json.JsonObject data,
boolean upsert,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Update the user credential.
|
public static final TypeArg<CredentialStore> __TYPE_ARG
public CredentialStore(io.vertx.ext.auth.webauthn.CredentialStore delegate)
public CredentialStore(Object delegate)
public io.vertx.ext.auth.webauthn.CredentialStore getDelegate()
public String generateId()
public CredentialStore getUserCredentialsByName(String username, io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.core.json.JsonObject>>> handler)
username
- user unique name.handler
- the handler for the result callback.public CredentialStore getUserCredentialsByName(String username)
username
- user unique name.public rx.Single<List<io.vertx.core.json.JsonObject>> rxGetUserCredentialsByName(String username)
username
- user unique name.public CredentialStore getUserCredentialsById(String rawId, io.vertx.core.Handler<io.vertx.core.AsyncResult<List<io.vertx.core.json.JsonObject>>> handler)
rawId
- user unique rawId.handler
- the handler for the result callback.public CredentialStore getUserCredentialsById(String rawId)
rawId
- user unique rawId.public rx.Single<List<io.vertx.core.json.JsonObject>> rxGetUserCredentialsById(String rawId)
rawId
- user unique rawId.public CredentialStore updateUserCredential(String id, io.vertx.core.json.JsonObject data, boolean upsert, io.vertx.core.Handler<io.vertx.core.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, io.vertx.core.json.JsonObject data, boolean upsert)
id
- the unique user identifier.data
- the data to update.upsert
- insert if not present.public rx.Single<Void> rxUpdateUserCredential(String id, io.vertx.core.json.JsonObject data, boolean upsert)
id
- the unique user identifier.data
- the data to update.upsert
- insert if not present.public static CredentialStore newInstance(io.vertx.ext.auth.webauthn.CredentialStore arg)
Copyright © 2020 Eclipse. All rights reserved.