Class WebAuthnImpl

All Implemented Interfaces:

public class WebAuthnImpl
extends java.lang.Object
implements WebAuthn
  • Constructor Summary

    Constructor Description
    WebAuthnImpl​(SessionInvocationHandler handler)  
  • Method Summary

    Modifier and Type Method Description
    void addCredential​(java.lang.String authenticatorId, Credential credential)
    Adds the credential to the specified authenticator.
    java.lang.String addVirtualAuthenticator​(VirtualAuthenticatorOptions options)
    Creates and adds a virtual authenticator.
    void clearCredentials​(java.lang.String authenticatorId)
    Clears all the credentials from the specified device.
    void disable()
    Disable the WebAuthn domain.
    void enable()
    Enable the WebAuthn domain and start intercepting credential storage and retrieval with a virtual authenticator.
    Credential getCredential​(java.lang.String authenticatorId, java.lang.String credentialId)
    Returns a single credential stored in the given virtual authenticator that matches the credential ID.
    java.util.List<Credential> getCredentials​(java.lang.String authenticatorId)
    Returns all the credentials stored in the given virtual authenticator.
    void removeCredential​(java.lang.String authenticatorId, java.lang.String credentialId)
    Removes a credential from the authenticator.
    void removeVirtualAuthenticator​(java.lang.String authenticatorId)
    Removes the given authenticator.
    void setUserVerified​(java.lang.String authenticatorId, java.lang.Boolean isUserVerified)
    Sets whether User Verification succeeds or fails for an authenticator.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait