语言

IServiceClientCredentialProvider 接口

定义

注意

Use ConfigurationBotFrameworkAuthentication instead to configure credentials.

ServiceClientCredentialProvider 接口。 该接口允许机器人提供自己的服务身份证明,以便从机器人向信道发送服务调用。 实现者应从GetCredentials方法返回ServiceClientCredentails。

[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)]
public interface IServiceClientCredentialProvider : Microsoft.Bot.Connector.Authentication.ICredentialProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)>]
type IServiceClientCredentialProvider = interface
    interface ICredentialProvider
Public Interface IServiceClientCredentialProvider
Implements ICredentialProvider
属性
实现

方法

名称 说明
GetAppPasswordAsync(String)
已过时.

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

(继承自 ICredentialProvider)
GetCredentials()
已过时.

获取提供身份/授权使用的凭证。

IsAuthenticationDisabledAsync()
已过时.

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

(继承自 ICredentialProvider)
IsValidAppIdAsync(String)
已过时.

验证应用 ID。

(继承自 ICredentialProvider)

适用于