Extends
Members
Methods
# addCredential(userID, credentialID) → {WebauthnState}
        Adds the credential to the list of known credentials.
    
    
    Parameters:
| Name | Type | Description | 
|---|---|---|
| userID | string | The UUID of the user. | 
| credentialID | string | The WebAuthn credential ID. | 
# getCredentials(userID) → {Array.<string>}
        Gets the list of known credentials on the current browser.
    
    
    Parameters:
| Name | Type | Description | 
|---|---|---|
| userID | string | The UUID of the user. | 
Array.<string>
    # getUserState(userID) → {LocalStorageUser}
        Gets the state of the specified user.
    
    
    Parameters:
| Name | Type | Description | 
|---|---|---|
| userID | string | The UUID of the user. | 
# matchCredentials(userID, match) → {Array.<Credential>}
        Returns the intersection between the specified list of credentials and the known credentials stored in
the local storage.
    
    
    Parameters:
| Name | Type | Description | 
|---|---|---|
| userID | string | The UUID of the user. | 
| match | Array.<Credential> | A list of credential IDs to be matched against the local storage. | 
Array.<Credential>