Udostępnij przez


IServiceClientCredentialProvider Interfejs

Definicja

Przestroga

Use ConfigurationBotFrameworkAuthentication instead to configure credentials.

ServiceClientCredentialProvider, interfejs. Ten interfejs umożliwia botom dostarczenie własnego dowodu tożsamości usługi na potrzeby wykonywania wywołań usług z bota do kanałów. Implementator powinien zwrócić metodę 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

GetAppPasswordAsync(String)
Przestarzałe.

Pobiera hasło aplikacji dla danego identyfikatora aplikacji bota.

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

Pobierz poświadczenia niezbędne do zapewnienia 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