Share via


ConfigurationServiceClientCredentialFactory Class

Definition

Credential provider which uses IConfiguration to lookup app credentials.

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

Remarks

This will populate the AppId from an configuration entry with the key of MicrosoftAppIdKey and the Password from a configuration entry with the key of MicrosoftAppPasswordKey.

NOTE: if the keys are not present, a null value will be used.

Applies to