Edit

WebAuthNPluginAuthenticatorAddCredentials function (webauthnplugin.h)

Adds cached credential metadata for a plugin authenticator.

Syntax

HRESULT WebAuthNPluginAuthenticatorAddCredentials(
  REFCLSID                             rclsid,
  DWORD                                cCredentialDetails,
  PCWEBAUTHN_PLUGIN_CREDENTIAL_DETAILS pCredentialDetails
);

Parameters

rclsid

The class identifier of the registered plugin authenticator.

cCredentialDetails

The number of entries in the array pointed to by pCredentialDetails.

pCredentialDetails

A pointer to an array of WEBAUTHN_PLUGIN_CREDENTIAL_DETAILS structures that describe the credentials to add.

Return value

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

Remarks

Credential metadata added by this function can be surfaced by browser autofill and related platform experiences.

Requirements

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

See also

WEBAUTHN_PLUGIN_CREDENTIAL_DETAILS