Language

OAuthFlowExtensions Class

Definition

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.

Applies to