# Module: vertx-web-js/digest_auth_handler

### Classes

DigestAuthHandler

### Methods

#### (static) DigestAuthHandler.create(authProvider, nonceExpireTimeout) → {DigestAuthHandler}

Create a digest auth handler, specifying the expire timeout for nonces.

##### Parameters:

Name | Type | Description
--- | --- | ---
`authProvider` | HtdigestAuth | the auth service to use
`nonceExpireTimeout` | number | the nonce expire timeout in milliseconds.

Source:
  - vertx-web-js/digest_auth_handler.js, line 113

##### Returns:

the auth handler

Type
  DigestAuthHandler