public class HtdigestAuth extends AuthenticationProvider
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<HtdigestAuth> |
__TYPE_ARG |
static String |
HTDIGEST_FILE
The property name to be used to set the name of the collection inside the config
|
| Constructor and Description |
|---|
HtdigestAuth(HtdigestAuth delegate) |
HtdigestAuth(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
boolean |
equals(Object o) |
HtdigestAuth |
getDelegate() |
int |
hashCode() |
static HtdigestAuth |
newInstance(HtdigestAuth arg) |
String |
realm()
Return the currently used realm
|
Single<User> |
rxAuthenticate(HtdigestCredentials credentials)
Authenticate a User using the specified
HtdigestCredentials |
String |
toString() |
authenticate, authenticate, newInstance, rxAuthenticatepublic static final io.vertx.lang.rx.TypeArg<HtdigestAuth> __TYPE_ARG
public static final String HTDIGEST_FILE
public HtdigestAuth(HtdigestAuth delegate)
public HtdigestAuth(Object delegate)
public String toString()
toString in class AuthenticationProviderpublic boolean equals(Object o)
equals in class AuthenticationProviderpublic int hashCode()
hashCode in class AuthenticationProviderpublic HtdigestAuth getDelegate()
getDelegate in class AuthenticationProviderpublic static HtdigestAuth create(Vertx vertx)
vertx - HtdigestAuthspublic static HtdigestAuth create(Vertx vertx, String htfile)
vertx - htfile - the existing htfile.HtdigestAuthspublic String realm()
public void authenticate(HtdigestCredentials credentials, Handler<AsyncResult<User>> handler)
HtdigestCredentialscredentials - handler - public void authenticate(HtdigestCredentials credentials)
HtdigestCredentialscredentials - public Single<User> rxAuthenticate(HtdigestCredentials credentials)
HtdigestCredentialscredentials - public static HtdigestAuth newInstance(HtdigestAuth arg)
Copyright © 2020 Eclipse. All rights reserved.