Package io.vertx.ext.auth.htdigest
Interface HtdigestAuth
-
- All Superinterfaces:
AuthenticationProvider
public interface HtdigestAuth extends AuthenticationProvider
An extension of AuthProvider which is using .htdigest file as store- Author:
- Paulo Lopes
-
-
Field Summary
Fields Modifier and Type Field Description static StringHTDIGEST_FILEThe property name to be used to set the name of the collection inside the config
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static HtdigestAuthcreate(Vertx vertx)Creates an instance of HtdigestAuth.static HtdigestAuthcreate(Vertx vertx, String htfile)Creates an instance of HtdigestAuth by using the given htfile file.Stringrealm()Return the currently used realm-
Methods inherited from interface io.vertx.ext.auth.authentication.AuthenticationProvider
authenticate
-
-
-
-
Field Detail
-
HTDIGEST_FILE
static final String HTDIGEST_FILE
The property name to be used to set the name of the collection inside the config- See Also:
- Constant Field Values
-
-
Method Detail
-
create
static HtdigestAuth create(Vertx vertx)
Creates an instance of HtdigestAuth.- Returns:
- the created instance of
HtdigestAuths
-
create
static HtdigestAuth create(Vertx vertx, String htfile)
Creates an instance of HtdigestAuth by using the given htfile file.- Parameters:
htfile- the existing htfile.- Returns:
- the created instance of
HtdigestAuths
-
realm
String realm()
Return the currently used realm- Returns:
- the realm
-
-