BotFrameworkConfigurationBuilder.UseCredentialProvider Method

Definition

Configures an ICredentialProvider that should be used to store and retrieve credentials used during authentication with the Bot Framework.

public Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder UseCredentialProvider (Microsoft.Bot.Connector.Authentication.ICredentialProvider credentialProvider);
member this.UseCredentialProvider : Microsoft.Bot.Connector.Authentication.ICredentialProvider -> Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder
Public Function UseCredentialProvider (credentialProvider As ICredentialProvider) As BotFrameworkConfigurationBuilder

Parameters

credentialProvider
ICredentialProvider

An ICredentialProvider that the bot framework will use to authenticate requests.

Returns

A reference to this instance after the operation has completed.

Applies to

See also