Interface UserAuthenticator

All Known Implementing Classes:
StaticUserAuthenticator

public interface UserAuthenticator
The user authenticator is used to query credentials from the user. Since a UserAuthenticator is provided with the FileSystemOptions to a FileSystem it should also implement reasonable equals and hashCode functions if the FileSystem should be shared.
  • Method Details

    • requestAuthentication

      UserAuthenticationData requestAuthentication(UserAuthenticationData.Type[] types)
      Queries the given type from the user.
      Parameters:
      types - An array containing the user's credentials
      Returns:
      The UserAuthenticationData.