ApplicationBuilder<TState>.WithAuthentication Method

Definition

Configures authentication for the application.

C#
public Microsoft.Teams.AI.ApplicationBuilder<TState> WithAuthentication (Microsoft.Bot.Builder.BotAdapter adapter, Microsoft.Teams.AI.AuthenticationOptions<TState> authenticationOptions);

Parameters

adapter
BotAdapter

The bot adapter.

authenticationOptions
AuthenticationOptions<TState>

The options for authentication.

Returns

The ApplicationBuilder instance.

Applies to

Producto Versiones
Microsoft Teams Framework .NET SDK Latest