Sprache

BotFrameworkAdapter.CreateOAuthApiClientAsync Methode

Definition

Überlädt

Name Beschreibung
CreateOAuthApiClientAsync(ITurnContext)

Erstellt einen OAuth-Client für den Bot.

CreateOAuthApiClientAsync(ITurnContext, AppCredentials)

Erstellt einen OAuth-Client für den Bot mit den Zugangsdaten.

CreateOAuthApiClientAsync(ITurnContext)

Erstellt einen OAuth-Client für den Bot.

protected virtual System.Threading.Tasks.Task<Microsoft.Bot.Connector.OAuthClient> CreateOAuthApiClientAsync(Microsoft.Bot.Builder.ITurnContext turnContext);
abstract member CreateOAuthApiClientAsync : Microsoft.Bot.Builder.ITurnContext -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.OAuthClient>
override this.CreateOAuthApiClientAsync : Microsoft.Bot.Builder.ITurnContext -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.OAuthClient>
Protected Overridable Function CreateOAuthApiClientAsync (turnContext As ITurnContext) As Task(Of OAuthClient)

Parameter

turnContext
ITurnContext

Das Kontextobjekt für die aktuelle Drehung.

Gibt zurück

Ein OAuth-Client für den Bot.

Gilt für:

CreateOAuthApiClientAsync(ITurnContext, AppCredentials)

Erstellt einen OAuth-Client für den Bot mit den Zugangsdaten.

protected virtual System.Threading.Tasks.Task<Microsoft.Bot.Connector.OAuthClient> CreateOAuthApiClientAsync(Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Connector.Authentication.AppCredentials oAuthAppCredentials);
abstract member CreateOAuthApiClientAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Connector.Authentication.AppCredentials -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.OAuthClient>
override this.CreateOAuthApiClientAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Connector.Authentication.AppCredentials -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.OAuthClient>
Protected Overridable Function CreateOAuthApiClientAsync (turnContext As ITurnContext, oAuthAppCredentials As AppCredentials) As Task(Of OAuthClient)

Parameter

turnContext
ITurnContext

Das Kontextobjekt für die aktuelle Drehung.

oAuthAppCredentials
AppCredentials

AppCredentials für OAuth.

Gibt zurück

Ein OAuth-Client für den Bot.

Gilt für: