Interface VirtualAuthenticator


public interface VirtualAuthenticator
Represents a virtual authenticator.
  • Method Details

    • getId

      String getId()
      Returns:
      the authenticator unique identifier.
    • addCredential

      void addCredential(Credential credential)
      Injects a credential into the authenticator.
    • getCredentials

      List<Credential> getCredentials()
      Returns:
      the list of credentials owned by the authenticator.
    • removeCredential

      void removeCredential(byte[] credentialId)
      Removes a credential from the authenticator.
      Parameters:
      credentialId - the ID of the credential to be removed.
    • removeCredential

      void removeCredential(String credentialId)
      Removes a credential from the authenticator.
      Parameters:
      credentialId - the ID of the credential to be removed as a base64url string.
    • removeAllCredentials

      void removeAllCredentials()
      Removes all the credentials from the authenticator.
    • setUserVerified

      void setUserVerified(boolean verified)
      Sets whether the authenticator will simulate success or fail on user verification.
      Parameters:
      verified - true if the authenticator will pass user verification, false otherwise.