Interface AuthenticationProvider

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

public interface AuthenticationProvider
User-facing interface for authenticating users.
Author:
Tim Fox
  • Method Summary

    Modifier and Type
    Method
    Description
    Authenticate a user.
  • Method Details

    • 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