microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/sub-pr-338

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

core/src/Microsoft.Teams.Bot.Core/Hosting/AuthenticationSchemeOptions.cs

20lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4namespace Microsoft.Teams.Bot.Core.Hosting;
5
6/// <summary>
7/// Options for determining which authentication scheme to use.
8/// </summary>
9internal sealed class AuthenticationSchemeOptions
10{
11 /// <summary>
12 /// Gets or sets a value indicating whether to use Agent authentication (true) or Bot authentication (false).
13 /// </summary>
14 public bool UseAgentAuth { get; set; }
15
16 /// <summary>
17 /// Gets or sets the scope value used to determine the authentication scheme.
18 /// </summary>
19 public string Scope { get; set; } = "https://api.botframework.com/.default";
20}
21