HttpsConnectionAdapterOptions.OnAuthenticate 属性

定义

基于每个连接提供 的 SslServerAuthenticationOptions 直接配置。 在应用所有其他设置后,将调用此方法。

public:
 property Action<Microsoft::AspNetCore::Connections::ConnectionContext ^, System::Net::Security::SslServerAuthenticationOptions ^> ^ OnAuthenticate { Action<Microsoft::AspNetCore::Connections::ConnectionContext ^, System::Net::Security::SslServerAuthenticationOptions ^> ^ get(); void set(Action<Microsoft::AspNetCore::Connections::ConnectionContext ^, System::Net::Security::SslServerAuthenticationOptions ^> ^ value); };
public Action<Microsoft.AspNetCore.Connections.ConnectionContext,System.Net.Security.SslServerAuthenticationOptions> OnAuthenticate { get; set; }
public Action<Microsoft.AspNetCore.Connections.ConnectionContext,System.Net.Security.SslServerAuthenticationOptions>? OnAuthenticate { get; set; }
member this.OnAuthenticate : Action<Microsoft.AspNetCore.Connections.ConnectionContext, System.Net.Security.SslServerAuthenticationOptions> with get, set
Public Property OnAuthenticate As Action(Of ConnectionContext, SslServerAuthenticationOptions)

属性值

适用于