Taal

ConfigurationServiceClientCredentialFactory Klas

Definitie

Credentialprovider die app-inloggegevens opzoekt IConfiguration .

public class ConfigurationServiceClientCredentialFactory : Microsoft.Bot.Connector.Authentication.ServiceClientCredentialsFactory
type ConfigurationServiceClientCredentialFactory = class
    inherit ServiceClientCredentialsFactory
Public Class ConfigurationServiceClientCredentialFactory
Inherits ServiceClientCredentialsFactory
Overname
ConfigurationServiceClientCredentialFactory

Opmerkingen

Dit zal de AppId uit een configuratie-invoer vullen met de sleutel van MicrosoftAppIdKey en de Password uit een configuratie-invoer met de sleutel van MicrosoftAppPasswordKey.

OPMERKING: als de sleutels niet aanwezig zijn, wordt een null waarde gebruikt.

Constructors

Name Description
ConfigurationServiceClientCredentialFactory(IConfiguration, HttpClient, ILogger)

Initialiseert een nieuw exemplaar van de ConfigurationServiceClientCredentialFactory klasse.

Methoden

Name Description
CreateCredentialsAsync(String, String, String, Boolean, CancellationToken)

Een fabrieksmethode voor het maken van ServiceClientCredentials.

IsAuthenticationDisabledAsync(CancellationToken)

Controleert of botverificatie is uitgeschakeld.

IsValidAppIdAsync(String, CancellationToken)

Hiermee wordt een app-id gevalideerd.

Van toepassing op