Interface RegistrationInfo
public interface RegistrationInfo
The object exposing the registration information for an
Authenticator.-
Method Summary
Modifier and TypeMethodDescriptionbooleanisRegistered(String username) Returns true if the provided user is registered andfalseotherwise.Returns the objects representing the accounts that are registered with this authenticator.
-
Method Details
-
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
AuthenticatorSelectorfor registration operations associated with the account associated with the username, aOperationErrorwill be returned as a result of the operation.If an authenticator that is not registered for a given username is provided through
AuthenticatorSelectorfor authentication operations associated with the account associated with the username, anOperationErrorwill be returned as a result of the operation.- Returns:
- the
Setcontaining the registered accounts
-
isRegistered
Returns true if the provided user is registered andfalseotherwise.- Parameters:
username- the username- Returns:
- true if the provided user is registered and
falseotherwise
-