WebAuthNCancelCurrentOperation function (webauthn.h)

When this operation is invoked by the client in an authenticator session, it has the effect of terminating any WebAuthNAuthenticatorMakeCredential or WebAuthNAuthenticatorGetAssertion operation currently in progress in that authenticator session. The authenticator stops prompting for, or accepting, any user input related to authorizing the canceled operation. The client ignores any further responses from the authenticator for the canceled operation.

Syntax

HRESULT WebAuthNCancelCurrentOperation(
  const GUID *pCancellationId
);

Parameters

pCancellationId

The GUID returned, representing the ID of the cancelled operation.

Return value

Returns an HRESULT indicating success or failure.

Remarks

This operation is ignored if it is invoked in an authenticator session which does not have an WebAuthNAuthenticatorMakeCredential or WebAuthNAuthenticatorGetAssertion operation currently in progress.

Requirements

Requirement Value
Header webauthn.h

See also

WebAuthNGetCancellationId

WebAuthNAuthenticatorMakeCredential

WebAuthNAuthenticatorGetAssertion