Język

IServiceClientCredentialProvider Interfejs

Definicja

Uwaga

Use ConfigurationBotFrameworkAuthentication instead to configure credentials.

ServiceClientCredentialProvider interface. Ten interfejs pozwala botom na samodzielne dowód tożsamości usługi w celu wykonywania wywołań usług z bota do kanałów. Implementator powinien zwrócić ServiceClientCredentails z metody GetCredentials.

[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
Atrybuty
Implementuje

Metody

Nazwa Opis
GetAppPasswordAsync(String)
Przestarzałe.

Pobiera hasło do danego identyfikatora aplikacji bota.

(Odziedziczone po ICredentialProvider)
GetCredentials()
Przestarzałe.

Zdobądź niezbędne poświadczenie do uzyskania tożsamości/autoryzacji do użycia.

IsAuthenticationDisabledAsync()
Przestarzałe.

Sprawdza, czy uwierzytelnianie bota jest wyłączone.

(Odziedziczone po ICredentialProvider)
IsValidAppIdAsync(String)
Przestarzałe.

Weryfikuje identyfikator aplikacji.

(Odziedziczone po ICredentialProvider)

Dotyczy