Język

ConfigurationCredentialProvider Klasa

Definicja

Uwaga

Use ConfigurationBotFrameworkAuthentication instead to configure credentials.

Ładuje poświadczenia z .AppSettings

[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)]
public sealed class ConfigurationCredentialProvider : Microsoft.Bot.Connector.Authentication.SimpleCredentialProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)>]
type ConfigurationCredentialProvider = class
    inherit SimpleCredentialProvider
Public NotInheritable Class ConfigurationCredentialProvider
Inherits SimpleCredentialProvider
Dziedziczenie
ConfigurationCredentialProvider
Atrybuty

Uwagi

To wypełni AppId wpis ustawienia z aplikacji kluczem , MicrosoftAppIdKey a Password z ustawienia MicrosoftAppPasswordKeyaplikacji kluczem .

UWAGA: jeśli klucze nie są obecne, zostanie użyta wartość null .

Konstruktory

Nazwa Opis
ConfigurationCredentialProvider()
Przestarzałe.

Inicjuje nowe wystąpienie klasy ConfigurationCredentialProvider.

ConfigurationCredentialProvider(IConfiguration)
Przestarzałe.

Inicjuje nowe wystąpienie klasy ConfigurationCredentialProvider.

Właściwości

Nazwa Opis
AppId
Przestarzałe.

Pobiera lub ustawia identyfikator aplikacji dla tego uwierzytelnienia.

(Odziedziczone po SimpleCredentialProvider)
Password
Przestarzałe.

Pobiera lub ustawia hasło do aplikacji do tego logowania.

(Odziedziczone po SimpleCredentialProvider)

Metody

Nazwa Opis
GetAppPasswordAsync(String)
Przestarzałe.

Pobiera hasło do danego identyfikatora aplikacji bota.

(Odziedziczone po SimpleCredentialProvider)
IsAuthenticationDisabledAsync()
Przestarzałe.

Sprawdza, czy uwierzytelnianie bota jest wyłączone.

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

Weryfikuje identyfikator aplikacji.

(Odziedziczone po SimpleCredentialProvider)

Dotyczy