WebAuthnAbortService

WebAuthn abort service to manage ceremony cancellation. Ensures only one WebAuthn ceremony is active at a time to prevent "operation already in progress" errors.

class WebAuthnAbortService {
private controller;
 
cancelCeremony(): void;
createNewAbortSignal(): AbortSignal;
}

§Properties

§
controller
[src]

§Methods

§
cancelCeremony(): void
[src]

Manually cancel the current WebAuthn operation. Useful for cleaning up when user cancels or navigates away.

§
createNewAbortSignal(): AbortSignal
[src]

Create an abort signal for a new WebAuthn operation. Automatically cancels any existing operation.

@return

Signal to pass to navigator.credentials.create() or .get()