Class BasicAuthHandler
java.lang.Object
io.vertx.rxjava3.ext.web.handler.BasicAuthHandler
- All Implemented Interfaces:
Handler<RoutingContext>, io.vertx.lang.rx.RxDelegate, AuthenticationHandler
public class BasicAuthHandler
extends Object
implements io.vertx.lang.rx.RxDelegate, AuthenticationHandler, Handler<RoutingContext>
An auth handler that provides HTTP Basic Authentication support.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<BasicAuthHandler> static final StringThe default realm to use -
Constructor Summary
ConstructorsConstructorDescriptionBasicAuthHandler(BasicAuthHandler delegate) BasicAuthHandler(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic BasicAuthHandlercreate(AuthenticationProvider authProvider) Create a basic auth handlerstatic BasicAuthHandlercreate(AuthenticationProvider authProvider, String realm) Create a basic auth handler, specifying realmbooleanvoidhandle(RoutingContext event) Something has happened, so handle it.inthashCode()static BasicAuthHandlertoString()
-
Field Details
-
__TYPE_ARG
-
DEFAULT_REALM
-
-
Constructor Details
-
BasicAuthHandler
-
BasicAuthHandler
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceAuthenticationHandler- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
handle
Something has happened, so handle it.- Specified by:
handlein interfaceAuthenticationHandler- Specified by:
handlein interfaceHandler<RoutingContext>- Parameters:
event- the event to handle
-
create
Create a basic auth handler- Parameters:
authProvider- the auth provider to use- Returns:
- the auth handler
-
create
Create a basic auth handler, specifying realm- Parameters:
authProvider- the auth service to userealm- the realm to use- Returns:
- the auth handler
-
newInstance
-