Język

SimpleCredentialProvider Klasa

Definicja

Uwaga

Use ConfigurationBotFrameworkAuthentication instead to configure credentials.

Prosta implementacja interfejsu 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
Dziedziczenie
SimpleCredentialProvider
Pochodne
Atrybuty
Implementuje

Konstruktory

Nazwa Opis
SimpleCredentialProvider()
Przestarzałe.

Inicjuje nowe wystąpienie klasy SimpleCredentialProvider. z pustymi uprawnieniami.

SimpleCredentialProvider(String, String)
Przestarzałe.

Inicjuje nowe wystąpienie klasy SimpleCredentialProvider. z udostępnionymi uprawnieniami.

Właściwości

Nazwa Opis
AppId
Przestarzałe.

Pobiera lub ustawia identyfikator aplikacji dla tego uwierzytelnienia.

Password
Przestarzałe.

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

Metody

Nazwa Opis
GetAppPasswordAsync(String)
Przestarzałe.

Pobiera hasło do danego identyfikatora aplikacji bota.

IsAuthenticationDisabledAsync()
Przestarzałe.

Sprawdza, czy uwierzytelnianie bota jest wyłączone.

IsValidAppIdAsync(String)
Przestarzałe.

Weryfikuje identyfikator aplikacji.

Dotyczy