File: Passkeys\AuthenticatorResponse.cs
Web Access
Project: src\src\Identity\Core\src\Microsoft.AspNetCore.Identity.csproj (Microsoft.AspNetCore.Identity)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Identity;
 
/// <summary>
/// Represents the base class for responses returned by an authenticator during credential creation or retrieval
/// operations.
/// </summary>
internal abstract class AuthenticatorResponse
{
    /// <summary>
    /// Gets or sets the client data passed to
    /// <c>navigator.credentials.create()</c> or <c>navigator.credentials.get()</c>.
    /// </summary>
    public required BufferSource ClientDataJSON { get; init; }
}