BotAuthenticator 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
BotAuthenticator(ICredentialProvider, BotAuthenticator+EndorsementsValidator)
public BotAuthenticator (Microsoft.Bot.Connector.ICredentialProvider credentialProvider, Microsoft.Bot.Connector.BotAuthenticator.EndorsementsValidator validator = default);
new Microsoft.Bot.Connector.BotAuthenticator : Microsoft.Bot.Connector.ICredentialProvider * Microsoft.Bot.Connector.BotAuthenticator.EndorsementsValidator -> Microsoft.Bot.Connector.BotAuthenticator
Public Sub New (credentialProvider As ICredentialProvider, Optional validator As BotAuthenticator.EndorsementsValidator = Nothing)
参数
- credentialProvider
- ICredentialProvider
- validator
- BotAuthenticator.EndorsementsValidator
适用于
BotAuthenticator(String, String, BotAuthenticator+EndorsementsValidator)
public BotAuthenticator (string microsoftAppId, string microsoftAppPassword, Microsoft.Bot.Connector.BotAuthenticator.EndorsementsValidator validator = default);
new Microsoft.Bot.Connector.BotAuthenticator : string * string * Microsoft.Bot.Connector.BotAuthenticator.EndorsementsValidator -> Microsoft.Bot.Connector.BotAuthenticator
Public Sub New (microsoftAppId As String, microsoftAppPassword As String, Optional validator As BotAuthenticator.EndorsementsValidator = Nothing)
参数
- microsoftAppId
- String
- microsoftAppPassword
- String
- validator
- BotAuthenticator.EndorsementsValidator
适用于
BotAuthenticator(ICredentialProvider, String, Boolean, BotAuthenticator+EndorsementsValidator)
public BotAuthenticator (Microsoft.Bot.Connector.ICredentialProvider credentialProvider, string openIdConfigurationUrl, bool disableEmulatorTokens, Microsoft.Bot.Connector.BotAuthenticator.EndorsementsValidator validator = default);
new Microsoft.Bot.Connector.BotAuthenticator : Microsoft.Bot.Connector.ICredentialProvider * string * bool * Microsoft.Bot.Connector.BotAuthenticator.EndorsementsValidator -> Microsoft.Bot.Connector.BotAuthenticator
Public Sub New (credentialProvider As ICredentialProvider, openIdConfigurationUrl As String, disableEmulatorTokens As Boolean, Optional validator As BotAuthenticator.EndorsementsValidator = Nothing)
参数
- credentialProvider
- ICredentialProvider
- openIdConfigurationUrl
- String
- disableEmulatorTokens
- Boolean
- validator
- BotAuthenticator.EndorsementsValidator