OAuthFlowExtensions 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.
Extension methods for registering OAuthFlow instances on a TeamsBotApplication.
public static class OAuthFlowExtensions
type OAuthFlowExtensions = class
Public Module OAuthFlowExtensions
- Inheritance
-
OAuthFlowExtensions
Methods
| Name | Description |
|---|---|
| AddOAuthFlow(TeamsBotApplication, OAuthOptions) |
Register an OAuthFlow with OAuthOptions that configure both the connection name and the default OAuthCard text shown during sign-in. Per-call options passed to SignInAsync<TActivity>(Context<TActivity>, OAuthOptions, CancellationToken) override these defaults. |
| AddOAuthFlow(TeamsBotApplication, String) |
Register an OAuthFlow with an explicit OAuth connection name. |