io.vertx.ext.web.handler

## Interface DigestAuthHandler

- All Superinterfaces:
    AuthHandler, Handler<RoutingContext>

      public interface DigestAuthHandler
      extends AuthHandler

  An auth handler that provides HTTP Basic Authentication support.
  Author:
    Paulo Lopes

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static long` | `DEFAULT_NONCE_EXPIRE_TIMEOUT` The default nonce expire timeout to use in milliseconds.

  - ### Method Summary

    All Methods Static Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static DigestAuthHandler` | `create(HtdigestAuth authProvider)` Create a digest auth handler
    `static DigestAuthHandler` | `create(HtdigestAuth authProvider, long nonceExpireTimeout)` Create a digest auth handler, specifying the expire timeout for nonces.

    - ### Methods inherited from interface io.vertx.ext.web.handler.AuthHandler

      `addAuthorities, addAuthority`

    - ### Methods inherited from interface io.vertx.core.Handler

      `handle`

- - ### Field Detail

    - #### DEFAULT_NONCE_EXPIRE_TIMEOUT

          static final long DEFAULT_NONCE_EXPIRE_TIMEOUT

      The default nonce expire timeout to use in milliseconds.
      See Also:
        Constant Field Values

  - ### Method Detail

    - #### create

          static DigestAuthHandler create(HtdigestAuth authProvider)

      Create a digest auth handler
      Parameters:
        `authProvider` - the auth provider to use
      Returns:
        the auth handler

    - #### create

          static DigestAuthHandler create(HtdigestAuth authProvider,
                                          long nonceExpireTimeout)

      Create a digest auth handler, specifying the expire timeout for nonces.
      Parameters:
        `authProvider` - the auth service to use
        `nonceExpireTimeout` - the nonce expire timeout in milliseconds.
      Returns:
        the auth handler

Copyright © 2017. All rights reserved.