Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Registers a plugin authenticator with Windows by using the extended add-authenticator options.
Syntax
HRESULT WebAuthNPluginAddAuthenticator2(
PCWEBAUTHN_PLUGIN_ADD_AUTHENTICATOR_OPTIONS_2 pPluginAddAuthenticatorOptions,
PWEBAUTHN_PLUGIN_ADD_AUTHENTICATOR_RESPONSE *ppPluginAddAuthenticatorResponse
);
Parameters
pPluginAddAuthenticatorOptions
A pointer to a WEBAUTHN_PLUGIN_ADD_AUTHENTICATOR_OPTIONS_2 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
Use this function when you need the additional fields exposed by version 2 of the add-authenticator options structure, such as the user-verification key name. To register a plugin authenticator without those fields, use WebAuthNPluginAddAuthenticator.
Requirements
| Requirement | Value |
|---|---|
| Header | webauthnplugin.h |
| Library | WebAuthnPlugin.Lib |
| DLL | WebAuthnPlugin.dll |
See also
WEBAUTHN_PLUGIN_ADD_AUTHENTICATOR_OPTIONS_2