# Module: vertx-web-js/basic_auth_handler

## vertx-web-js/basic_auth_handler

Source:
  - basic_auth_handler.js, line 3

### Classes

BasicAuthHandler

### Methods

#### <static> BasicAuthHandler.create(authProvider, realm) → {AuthHandler}

  Create a basic auth handler, specifying realm

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `authProvider` | AuthProvider | the auth service to use
  `realm` | string | the realm to use

  Source:
    - basic_auth_handler.js, line 94

  ##### Returns:

  the auth handler
  Type
    AuthHandler