Interface DigestAuthHandler
- All Superinterfaces:
AuthenticationHandler, Handler<RoutingContext>
An auth handler that provides HTTP Basic Authentication support.
- Author:
- Paulo Lopes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longThe default nonce expire timeout to use in milliseconds. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic DigestAuthHandlercreate(Vertx vertx, HtdigestAuth authProvider) Create a digest auth handlerstatic DigestAuthHandlercreate(Vertx vertx, HtdigestAuth authProvider, long nonceExpireTimeout) Create a digest auth handler, specifying the expire timeout for nonces.
-
Field Details
-
DEFAULT_NONCE_EXPIRE_TIMEOUT
static final long DEFAULT_NONCE_EXPIRE_TIMEOUTThe default nonce expire timeout to use in milliseconds.- See Also:
-
-
Method Details
-
create
Create a digest auth handler- Parameters:
vertx- the vertx instanceauthProvider- the auth provider to use- Returns:
- the auth handler
-
create
Create a digest auth handler, specifying the expire timeout for nonces.- Parameters:
vertx- the vertx instanceauthProvider- the auth service to usenonceExpireTimeout- the nonce expire timeout in milliseconds.- Returns:
- the auth handler
-