Taal

ICredentialProvider Interface

Definitie

Let op

Use ConfigurationBotFrameworkAuthentication instead to configure credentials.

CredentialProvider-interface. Deze interface stelt bots in staat hun eigen implementatie te leveren van wat wel en niet een geldige appID en wachtwoord is. Dit is handig in het geval van bots met meerdere tenants, waarbij de bot mogelijk moet worden aangeroepen bij een service om te bepalen of een bepaald appid-/wachtwoordpaar geldig is.

Voor single tenant-bots (de overgrote meerderheid) zijn de eenvoudige statische providers voldoende.

[System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)]
public interface ICredentialProvider
[<System.Obsolete("Use `ConfigurationBotFrameworkAuthentication` instead to configure credentials.", false)>]
type ICredentialProvider = interface
Public Interface ICredentialProvider
Afgeleid
Kenmerken

Methoden

Name Description
GetAppPasswordAsync(String)
Verouderd.

Krijgt het app-wachtwoord van een bepaalde bot-app-ID.

IsAuthenticationDisabledAsync()
Verouderd.

Controleert of botverificatie is uitgeschakeld.

IsValidAppIdAsync(String)
Verouderd.

Hiermee wordt een app-id gevalideerd.

Van toepassing op