語言

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
屬性
實作

方法

名稱 Description
GetAppPasswordAsync(String)
已淘汰.

取得指定 Bot 應用程式識別碼的應用程式密碼。

(繼承來源 ICredentialProvider)
GetCredentials()
已淘汰.

取得提供身份/授權使用的憑證。

IsAuthenticationDisabledAsync()
已淘汰.

檢查 Bot 驗證是否已停用。

(繼承來源 ICredentialProvider)
IsValidAppIdAsync(String)
已淘汰.

驗證應用程式識別碼。

(繼承來源 ICredentialProvider)

適用於