語言

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

建構函式

名稱 Description
SimpleCredentialProvider()
已淘汰.

初始化 SimpleCredentialProvider 類別的新執行個體。 但卻是空洞的資歷。

SimpleCredentialProvider(String, String)
已淘汰.

初始化 SimpleCredentialProvider 類別的新執行個體。 並持有提供的證件。

屬性

名稱 Description
AppId
已淘汰.

取得或設定這個憑證的應用程式 ID。

Password
已淘汰.

取得或設定這個憑證的應用程式密碼。

方法

名稱 Description
GetAppPasswordAsync(String)
已淘汰.

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

IsAuthenticationDisabledAsync()
已淘汰.

檢查 Bot 驗證是否已停用。

IsValidAppIdAsync(String)
已淘汰.

驗證應用程式識別碼。

適用於