语言

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。

适用于