HttpsConnectionAdapterOptions.OnAuthenticate 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
基于每个连接提供 的 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)