Share via


CertificateAuthenticationEvents.OnAuthenticationFailed Property

Definition

A delegate assigned to this property will be invoked when the authentication fails.

public:
 property Func<Microsoft::AspNetCore::Authentication::Certificate::CertificateAuthenticationFailedContext ^, System::Threading::Tasks::Task ^> ^ OnAuthenticationFailed { Func<Microsoft::AspNetCore::Authentication::Certificate::CertificateAuthenticationFailedContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::Certificate::CertificateAuthenticationFailedContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Authentication.Certificate.CertificateAuthenticationFailedContext,System.Threading.Tasks.Task> OnAuthenticationFailed { get; set; }
member this.OnAuthenticationFailed : Func<Microsoft.AspNetCore.Authentication.Certificate.CertificateAuthenticationFailedContext, System.Threading.Tasks.Task> with get, set
Public Property OnAuthenticationFailed As Func(Of CertificateAuthenticationFailedContext, Task)

Property Value

Applies to