BotFrameworkConfigurationBuilder.UseCredentialProvider Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.