clj-chrome-devtools.commands.web-authn

This domain allows configuring virtual authenticators to test the WebAuthn API.

add-credential

(add-credential)(add-credential {:as params, :keys [authenticator-id credential]})(add-credential connection {:as params, :keys [authenticator-id credential]})

Adds the credential to the specified authenticator.

Parameters map keys:

Key Description
:authenticator-id null
:credential null

add-virtual-authenticator

(add-virtual-authenticator)(add-virtual-authenticator {:as params, :keys [options]})(add-virtual-authenticator connection {:as params, :keys [options]})

Creates and adds a virtual authenticator.

Parameters map keys:

Key Description
:options null

Return map keys:

Key Description
:authenticator-id null

clear-credentials

(clear-credentials)(clear-credentials {:as params, :keys [authenticator-id]})(clear-credentials connection {:as params, :keys [authenticator-id]})

Clears all the credentials from the specified device.

Parameters map keys:

Key Description
:authenticator-id null

disable

(disable)(disable {:as params, :keys []})(disable connection {:as params, :keys []})

Disable the WebAuthn domain.

enable

(enable)(enable {:as params, :keys []})(enable connection {:as params, :keys []})

Enable the WebAuthn domain and start intercepting credential storage and retrieval with a virtual authenticator.

get-credential

(get-credential)(get-credential {:as params, :keys [authenticator-id credential-id]})(get-credential connection {:as params, :keys [authenticator-id credential-id]})

Returns a single credential stored in the given virtual authenticator that matches the credential ID.

Parameters map keys:

Key Description
:authenticator-id null
:credential-id null

Return map keys:

Key Description
:credential null

get-credentials

(get-credentials)(get-credentials {:as params, :keys [authenticator-id]})(get-credentials connection {:as params, :keys [authenticator-id]})

Returns all the credentials stored in the given virtual authenticator.

Parameters map keys:

Key Description
:authenticator-id null

Return map keys:

Key Description
:credentials null

remove-credential

(remove-credential)(remove-credential {:as params, :keys [authenticator-id credential-id]})(remove-credential connection {:as params, :keys [authenticator-id credential-id]})

Removes a credential from the authenticator.

Parameters map keys:

Key Description
:authenticator-id null
:credential-id null

remove-virtual-authenticator

(remove-virtual-authenticator)(remove-virtual-authenticator {:as params, :keys [authenticator-id]})(remove-virtual-authenticator connection {:as params, :keys [authenticator-id]})

Removes the given authenticator.

Parameters map keys:

Key Description
:authenticator-id null

set-automatic-presence-simulation

(set-automatic-presence-simulation)(set-automatic-presence-simulation {:as params, :keys [authenticator-id enabled]})(set-automatic-presence-simulation connection {:as params, :keys [authenticator-id enabled]})

Sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator. The default is true.

Parameters map keys:

Key Description
:authenticator-id null
:enabled null

set-user-verified

(set-user-verified)(set-user-verified {:as params, :keys [authenticator-id is-user-verified]})(set-user-verified connection {:as params, :keys [authenticator-id is-user-verified]})

Sets whether User Verification succeeds or fails for an authenticator. The default is true.

Parameters map keys:

Key Description
:authenticator-id null
:is-user-verified null