Package io.vertx.ext.auth.authentication

## Interface AuthenticationProvider

- All Known Subinterfaces:
    `ChainAuth`, `HotpAuth`, `HtdigestAuth`, `HtpasswdAuth`, `JWTAuth`, `LdapAuthentication`, `MongoAuthentication`, `OAuth2Auth`, `PropertyFileAuthentication`, `SqlAuthentication`, `TotpAuth`, `WebAuthn`

      public interface AuthenticationProvider

  User-facing interface for authenticating users.
  Author:
    Tim Fox

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<User>` | `authenticate​(Credentials credentials)` | Authenticate a user.

- - ### Method Detail

    - #### authenticate

          Future<User> authenticate​(Credentials credentials)

      Authenticate a user.

      The first argument is a Credentials object containing information for authenticating the user. What this actually contains depends on the specific implementation.

      Parameters:
        `credentials` - The credentials
      Returns:
        The result future