AuthenticatorDataFlags.cs from dodobrands/WebAuthn.Net
// Source: https://github.com/dodobrands/WebAuthn.Net | License: MIT | Copyright 2024 Dodo Brands
// Provided via justclaw.it.com; keep this notice with the code.
using System;
namespace WebAuthn.Net.Services.Common.AuthenticatorDataDecoder.Models.Enums;
/// <summary>
/// Flags that encode contextual bindings made by the authenticator.
/// </summary>
/// <remarks>
/// <a href="https://www.w3.org/TR/webauthn-3/#sctn-authenticator-data">Web Authentication: An API for accessing Public Key Credentials Level 3 - Authenticator Data</a>
/// </remarks>
[Flags]
public enum AuthenticatorDataFlags : byte
{
/// <summary>
/// Bit 0: <a href="https://www.w3.org/TR/webauthn-3/#concept-user-present">User Present</a> (UP) result
/// </summary>
UserPresent = 1 << 0,
// Bit
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key