Lingua

BotFrameworkConfigurationBuilderExtensions.UseMicrosoftApplicationIdentity Metodo

Definizione

Configura il bot con un'unica identità che verrà utilizzata per autenticare le richieste effettuate al 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

Parametri

applicationId
String

L'ID dell'applicazione che dovrebbe essere usato per autenticare le richieste fatte al Bot Framework.

applicationPassword
String

La password dell'applicazione che dovrebbe essere usata per autenticare le richieste effettuate al Bot Framework.

Valori restituiti

Riferimento a questa istanza dopo il completamento dell'operazione.

Si applica a

Vedi anche