SimpleCredentialProvider 类

定义

注意

Use ConfigurationBotFrameworkAuthentication instead to configure credentials.

接口的 ICredentialProvider 简单实现。

[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)]
public class SimpleCredentialProvider : Microsoft.Bot.Connector.Authentication.ICredentialProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)>]
type SimpleCredentialProvider = class
    interface ICredentialProvider
Public Class SimpleCredentialProvider
Implements ICredentialProvider
继承
SimpleCredentialProvider
派生
属性
实现

构造函数

SimpleCredentialProvider()
已过时.

初始化 SimpleCredentialProvider 类的新实例。 使用空凭据。

SimpleCredentialProvider(String, String)
已过时.

初始化 SimpleCredentialProvider 类的新实例。 使用提供的凭据。

属性

AppId
已过时.

获取或设置此凭据的应用 ID。

Password
已过时.

获取或设置此凭据的应用密码。

方法

GetAppPasswordAsync(String)
已过时.

获取给定机器人应用 ID 的应用密码。

IsAuthenticationDisabledAsync()
已过时.

检查是否禁用了机器人身份验证。

IsValidAppIdAsync(String)
已过时.

验证应用 ID。

适用于