CertificateAuthenticationEvents.Challenge(CertificateChallengeContext) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在质询发送回调用方之前调用。
public:
virtual System::Threading::Tasks::Task ^ Challenge(Microsoft::AspNetCore::Authentication::Certificate::CertificateChallengeContext ^ context);
public virtual System.Threading.Tasks.Task Challenge (Microsoft.AspNetCore.Authentication.Certificate.CertificateChallengeContext context);
abstract member Challenge : Microsoft.AspNetCore.Authentication.Certificate.CertificateChallengeContext -> System.Threading.Tasks.Task
override this.Challenge : Microsoft.AspNetCore.Authentication.Certificate.CertificateChallengeContext -> System.Threading.Tasks.Task
Public Overridable Function Challenge (context As CertificateChallengeContext) As Task
参数
- context
- CertificateChallengeContext