| Package | Description |
|---|---|
| io.vertx.ext.auth.otp | |
| io.vertx.ext.auth.otp.hotp | |
| io.vertx.ext.auth.otp.totp |
| Modifier and Type | Method and Description |
|---|---|
Authenticator |
Authenticator.registered() |
Authenticator |
Authenticator.setAlgorithm(String algorithm) |
Authenticator |
Authenticator.setAuthAttempts(Integer authAttempts) |
Authenticator |
Authenticator.setCounter(long counter) |
Authenticator |
Authenticator.setIdentifier(String identifier) |
Authenticator |
Authenticator.setKey(String key) |
Authenticator |
Authenticator.setPeriod(long period) |
| Modifier and Type | Method and Description |
|---|---|
static void |
AuthenticatorConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
Authenticator obj) |
static void |
AuthenticatorConverter.toJson(Authenticator obj,
JsonObject json) |
static void |
AuthenticatorConverter.toJson(Authenticator obj,
Map<String,Object> json) |
| Modifier and Type | Method and Description |
|---|---|
Future<Authenticator> |
HotpAuth.createAuthenticator(String id,
OtpKey otpKey)
Creating authenticator from user id and key.
|
| Modifier and Type | Method and Description |
|---|---|
HotpAuth |
HotpAuth.authenticatorFetcher(Function<String,Future<Authenticator>> fetcher)
|
HotpAuth |
HotpAuth.authenticatorUpdater(Function<Authenticator,Future<Void>> updater)
Provide a
Function that can update or insert a Authenticator. |
| Modifier and Type | Method and Description |
|---|---|
Future<Authenticator> |
TotpAuth.createAuthenticator(String id,
OtpKey otpKey)
Creating authenticator from user id and key.
|
| Modifier and Type | Method and Description |
|---|---|
TotpAuth |
TotpAuth.authenticatorFetcher(Function<String,Future<Authenticator>> fetcher)
|
TotpAuth |
TotpAuth.authenticatorUpdater(Function<Authenticator,Future<Void>> updater)
Provide a
Function that can update or insert a Authenticator. |
Copyright © 2021 Eclipse. All rights reserved.