public interface HtdigestAuth extends AuthenticationProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
HTDIGEST_FILE
The property name to be used to set the name of the collection inside the config
|
| Modifier and Type | Method and Description |
|---|---|
default Future<User> |
authenticate(HtdigestCredentials credentials)
Authenticate a User using the specified
HtdigestCredentials |
void |
authenticate(HtdigestCredentials credentials,
Handler<AsyncResult<User>> handler)
Authenticate a User using the specified
HtdigestCredentials |
static HtdigestAuth |
create(Vertx vertx)
Creates an instance of HtdigestAuth.
|
static HtdigestAuth |
create(Vertx vertx,
String htfile)
Creates an instance of HtdigestAuth by using the given htfile file.
|
String |
realm()
Return the currently used realm
|
authenticate, authenticatestatic final String HTDIGEST_FILE
static HtdigestAuth create(Vertx vertx)
HtdigestAuthsstatic HtdigestAuth create(Vertx vertx, String htfile)
htfile - the existing htfile.HtdigestAuthsString realm()
void authenticate(HtdigestCredentials credentials, Handler<AsyncResult<User>> handler)
HtdigestCredentialscredentials - handler - default Future<User> authenticate(HtdigestCredentials credentials)
HtdigestCredentialscredentials - Copyright © 2020 Eclipse. All rights reserved.