BotFrameworkAuthentication Class
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.
Represents a Cloud Environment used to authenticate Bot Framework Protocol network calls within this environment.
public abstract class BotFrameworkAuthentication
type BotFrameworkAuthentication = class
Public MustInherit Class BotFrameworkAuthentication
- Inheritance
-
BotFrameworkAuthentication
- Derived
Constructors
BotFrameworkAuthentication() |
Methods
AuthenticateChannelRequestAsync(String, CancellationToken) |
Authenticate Bot Framework Protocol requests to Skills. |
AuthenticateRequestAsync(Activity, String, CancellationToken) |
Validate Bot Framework Protocol requests. |
AuthenticateStreamingRequestAsync(String, String, CancellationToken) |
Validate Bot Framework Protocol requests. |
CreateBotFrameworkClient() |
Creates a BotFrameworkClient used for calling Skills. |
CreateConnectorFactory(ClaimsIdentity) |
Creates a ConnectorFactory that can be used to create IConnectorClient that use credentials from this particular cloud environment. |
CreateUserTokenClientAsync(ClaimsIdentity, CancellationToken) |
Creates the appropriate UserTokenClient instance. |
GenerateCallerIdAsync(ServiceClientCredentialsFactory, ClaimsIdentity, String, CancellationToken) |
Generates the appropriate callerId to write onto the activity, this might be null. |
GetOriginatingAudience() |
Gets the originating audience from Bot OAuth scope. |