EnterpriseChannelValidation 类

定义

注意

Use ConfigurationBotFrameworkAuthentication instead to perform enterprise channel validation.

验证来自企业通道的 JWT 令牌。

[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to perform enterprise channel validation.", false)]
public sealed class EnterpriseChannelValidation
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to perform enterprise channel validation.", false)>]
type EnterpriseChannelValidation = class
Public NotInheritable Class EnterpriseChannelValidation
继承
EnterpriseChannelValidation
属性

构造函数

EnterpriseChannelValidation()
已过时.

验证来自企业通道的 JWT 令牌。

字段

ToBotFromEnterpriseChannelTokenValidationParameters
已过时.

从企业通道到机器人:连接到机器人时的令牌验证参数。

方法

AuthenticateChannelToken(String, ICredentialProvider, IChannelProvider, String, HttpClient, String)
已过时.

验证传入的身份验证标头作为从 Bot Framework 通道服务发送的令牌。

AuthenticateChannelToken(String, ICredentialProvider, IChannelProvider, String, HttpClient, String, AuthenticationConfiguration)
已过时.

验证传入的身份验证标头作为从 Bot Framework 通道服务发送的令牌。

ValidateIdentity(ClaimsIdentity, ICredentialProvider, String)
已过时.

ClaimsIdentity根据提供的凭据和服务 URL 验证 对象。

适用于