Dela via


BotFrameworkAuthentication Klass

Definition

Representerar en molnmiljö som används för att autentisera Bot Framework Protocol-nätverksanrop i den här miljön.

public abstract class BotFrameworkAuthentication
type BotFrameworkAuthentication = class
Public MustInherit Class BotFrameworkAuthentication
Arv
BotFrameworkAuthentication
Härledda

Konstruktorer

BotFrameworkAuthentication()

Representerar en molnmiljö som används för att autentisera Bot Framework Protocol-nätverksanrop i den här miljön.

Metoder

AuthenticateChannelRequestAsync(String, CancellationToken)

Autentisera Bot Framework Protocol-begäranden till Färdigheter.

AuthenticateRequestAsync(Activity, String, CancellationToken)

Verifiera Begäranden om Bot Framework Protocol.

AuthenticateStreamingRequestAsync(String, String, CancellationToken)

Verifiera Begäranden om Bot Framework Protocol.

CreateBotFrameworkClient()

Skapar en BotFrameworkClient som används för att anropa färdigheter.

CreateConnectorFactory(ClaimsIdentity)

Skapar en ConnectorFactory som kan användas för att skapa IConnectorClient som använder autentiseringsuppgifter från den här molnmiljön.

CreateUserTokenClientAsync(ClaimsIdentity, CancellationToken)

Skapar lämplig UserTokenClient instans.

GenerateCallerIdAsync(ServiceClientCredentialsFactory, ClaimsIdentity, String, CancellationToken)

Genererar rätt anropar-ID för att skriva till aktiviteten, detta kan vara null.

GetOriginatingAudience()

Hämtar den ursprungliga målgruppen från Bot OAuth-omfånget.

Gäller för