WebAuthn API

Purpose

The Windows WebAuthn API provides Win32 apps a way to register new phishing-resistant credentials or sign in a user via the Windows Hello platform authenticator and/or external FIDO2 security keys, leveraging the Web Authentication (WebAuthn) and Client to Authenticator Protocol (CTAP) specifications.

Developer audience

The Windows WebAuthn API is designed for use by C/C++ developers of Windows applications. Developers can use this Windows API to register new phishing-resistant credentials or sign in a user using the Windows Hello platform authenticator and/or external FIDO2 security keys, leveraging the Web Authentication (WebAuthn) and Client to Authenticator Protocol (CTAP) specifications.

Runtime requirements

Requirement Value
Operating system Windows 10 version 1903 and later
Windows 11
Header webauthn.h

In this section