|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Authentication.Certificate;
/// <summary>
/// Context used when a failure occurs.
/// </summary>
public class CertificateAuthenticationFailedContext : ResultContext<CertificateAuthenticationOptions>
{
/// <summary>
/// Constructor.
/// </summary>
/// <param name="context"></param>
/// <param name="scheme"></param>
/// <param name="options"></param>
public CertificateAuthenticationFailedContext(
HttpContext context,
AuthenticationScheme scheme,
CertificateAuthenticationOptions options)
: base(context, scheme, options)
{
}
/// <summary>
/// The exception.
/// </summary>
public Exception Exception { get; set; } = default!;
}
|