Edit

WebAuthNPluginAddAuthenticator function (webauthnplugin.h)

Registers a plugin authenticator with Windows.

Syntax

HRESULT WebAuthNPluginAddAuthenticator(
  PCWEBAUTHN_PLUGIN_ADD_AUTHENTICATOR_OPTIONS pPluginAddAuthenticatorOptions,
  PWEBAUTHN_PLUGIN_ADD_AUTHENTICATOR_RESPONSE *ppPluginAddAuthenticatorResponse
);

Parameters

pPluginAddAuthenticatorOptions

A pointer to a WEBAUTHN_PLUGIN_ADD_AUTHENTICATOR_OPTIONS structure that describes the plugin authenticator to register.

ppPluginAddAuthenticatorResponse

When this function returns successfully, contains a pointer to a WEBAUTHN_PLUGIN_ADD_AUTHENTICATOR_RESPONSE structure. Free this value with WebAuthNPluginFreeAddAuthenticatorResponse.

Return value

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This function adds the plugin authenticator to the system so that Windows can route WebAuthn operations to it and expose its metadata to supported experiences.

Requirements

Requirement Value
Header webauthnplugin.h
Library WebAuthnPlugin.Lib
DLL WebAuthnPlugin.dll

See also

WEBAUTHN_PLUGIN_ADD_AUTHENTICATOR_OPTIONS

WEBAUTHN_PLUGIN_ADD_AUTHENTICATOR_RESPONSE

WebAuthNPluginFreeAddAuthenticatorResponse