Interface RegistrationInfo


public interface RegistrationInfo
The object exposing the registration information for an Authenticator.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isRegistered(String username)
    Returns true if the provided user is registered and false otherwise.
    Returns the objects representing the accounts that are registered with this authenticator.
  • Method Details

    • registeredAccounts

      Set<Account> registeredAccounts()
      Returns the objects representing the accounts that are registered with this authenticator.

      If an authenticator that is registered for a given username is provided through AuthenticatorSelector for registration operations associated with the account associated with the username, a OperationError will be returned as a result of the operation.

      If an authenticator that is not registered for a given username is provided through AuthenticatorSelector for authentication operations associated with the account associated with the username, an OperationError will be returned as a result of the operation.

      Returns:
      the Set containing the registered accounts
    • isRegistered

      boolean isRegistered(String username)
      Returns true if the provided user is registered and false otherwise.
      Parameters:
      username - the username
      Returns:
      true if the provided user is registered and false otherwise