WEBAUTHN_CLIENT_DATA structure (webauthn.h)

A structure containing the client data that is sent to the authenticator.

Syntax

typedef struct _WEBAUTHN_CLIENT_DATA {
  DWORD   dwVersion;
  DWORD   cbClientDataJSON;
  PBYTE   pbClientDataJSON;
  LPCWSTR pwszHashAlgId;
} WEBAUTHN_CLIENT_DATA, *PWEBAUTHN_CLIENT_DATA;

Members

dwVersion

Version of this structure, to allow for modifications in the future. This field is required and should be set to CURRENT_VERSION.

cbClientDataJSON

The size of the pbClientDataJSON field.

pbClientDataJSON

UTF-8 encoded JSON serialization of the client data.

pwszHashAlgId

Hash algorithm ID used to hash the pbClientDataJSON field.

Requirements

Requirement Value
Header webauthn.h

See also

WebAuthNAuthenticatorMakeCredential