public interface WebAuthn
| Modifier and Type | Method and Description |
|---|---|
void |
addCredential(String authenticatorId,
Credential credential)
Adds the credential to the specified authenticator.
|
String |
addVirtualAuthenticator(VirtualAuthenticatorOptions options)
Creates and adds a virtual authenticator.
|
void |
clearCredentials(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(String authenticatorId,
String credentialId)
Returns a single credential stored in the given virtual authenticator that matches the
credential ID.
|
List<Credential> |
getCredentials(String authenticatorId)
Returns all the credentials stored in the given virtual authenticator.
|
void |
removeCredential(String authenticatorId,
String credentialId)
Removes a credential from the authenticator.
|
void |
removeVirtualAuthenticator(String authenticatorId)
Removes the given authenticator.
|
void |
setUserVerified(String authenticatorId,
Boolean isUserVerified)
Sets whether User Verification succeeds or fails for an authenticator.
|
void enable()
void disable()
String addVirtualAuthenticator(VirtualAuthenticatorOptions options)
options - void removeVirtualAuthenticator(String authenticatorId)
authenticatorId - void addCredential(String authenticatorId, Credential credential)
authenticatorId - credential - Credential getCredential(String authenticatorId, String credentialId)
authenticatorId - credentialId - List<Credential> getCredentials(String authenticatorId)
authenticatorId - void removeCredential(String authenticatorId, String credentialId)
authenticatorId - credentialId - void clearCredentials(String authenticatorId)
authenticatorId - Copyright © 2020. All rights reserved.