Edit

WebAuthNPluginPerformUserVerification2 function (webauthnplugin.h)

Performs Windows Hello user verification for a plugin authenticator operation by using the extended user-verification request.

Syntax

HRESULT WebAuthNPluginPerformUserVerification2(
  PCWEBAUTHN_PLUGIN_USER_VERIFICATION_REQUEST_2 pPluginUserVerification,
  DWORD                                         *pcbResponse,
  PBYTE                                         *ppbResponse
);

Parameters

pPluginUserVerification

A pointer to a WEBAUTHN_PLUGIN_USER_VERIFICATION_REQUEST_2 structure that describes the user-verification request.

pcbResponse

Receives the size, in bytes, of the buffer returned in ppbResponse.

ppbResponse

When this function returns successfully, contains a pointer to the response buffer. Free this buffer with WebAuthNPluginFreeUserVerificationResponse.

Return value

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

Remarks

Use this function when you need to supply a custom buffer to sign during user verification. Version 2 adds the pbBufferToSign field to the request structure. To perform user verification without a custom buffer, use WebAuthNPluginPerformUserVerification.

Requirements

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

See also

WEBAUTHN_PLUGIN_USER_VERIFICATION_REQUEST_2

WebAuthNPluginFreeUserVerificationResponse