Språk

BotFrameworkConfigurationBuilderExtensions.UseMicrosoftApplicationIdentity Metod

Definition

Konfigurera boten med en enda identitet som kommer att användas för att autentisera förfrågningar som görs till 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

Parametrar

applicationId
String

Applikations-id:t som ska användas för att autentisera förfrågningar som görs till Bot Framework.

applicationPassword
String

Applikationslösenordet som bör användas för att autentisera förfrågningar som görs till Bot Framework.

Returer

En referens till den här instansen när åtgärden har slutförts.

Gäller för

Se även