// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Server.Kestrel.Https
{
///
/// Describes the client certificate requirements for a HTTPS connection.
///
public enum ClientCertificateMode
{
///
/// A client certificate is not required and will not be requested from clients.
///
NoCertificate,
///
/// A client certificate will be requested; however, authentication will not fail if a certificate is not provided by the client.
///
AllowCertificate,
///
/// A client certificate will be requested, and the client must provide a valid certificate for authentication to succeed.
///
RequireCertificate
}
}