BotFrameworkConfigurationBuilderExtensions.UseMicrosoftApplicationIdentity 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 the bot with the a single identity that will be used to authenticate requests made to the Bot Framework.
public static Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder UseMicrosoftApplicationIdentity (this Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder builder, string applicationId, string applicationPassword);
static member UseMicrosoftApplicationIdentity : Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder * string * string -> Microsoft.Bot.Builder.Integration.AspNet.WebApi.BotFrameworkConfigurationBuilder
<Extension()>
Public Function UseMicrosoftApplicationIdentity (builder As BotFrameworkConfigurationBuilder, applicationId As String, applicationPassword As String) As BotFrameworkConfigurationBuilder
Parameters
- applicationId
- String
The application id that should be used to authenticate requests made to the Bot Framework.
- applicationPassword
- String
The application password that should be used to authenticate requests made to the Bot Framework.
Returns
A reference to this instance after the operation has completed.