Interface BasicAuthHandler

All Superinterfaces:
AuthenticationHandler, Handler<RoutingContext>

public interface BasicAuthHandler extends AuthenticationHandler
An auth handler that provides HTTP Basic Authentication support.
Author:
Tim Fox
  • Field Details

  • Method Details

    • create

      static BasicAuthHandler create(AuthenticationProvider authProvider)
      Create a basic auth handler
      Parameters:
      authProvider - the auth provider to use
      Returns:
      the auth handler
    • create

      static BasicAuthHandler create(AuthenticationProvider authProvider, String realm)
      Create a basic auth handler, specifying realm
      Parameters:
      authProvider - the auth service to use
      realm - the realm to use
      Returns:
      the auth handler