microsoft/teams.net
Publicmirrored fromhttps://github.com/microsoft/teams.netAvailable
core/src/Microsoft.Teams.Bot.Core/Hosting/AuthenticationSchemeOptions.cs
20lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | namespace Microsoft.Teams.Bot.Core.Hosting; |
| 5 | |
| 6 | /// <summary> |
| 7 | /// Options for determining which authentication scheme to use. |
| 8 | /// </summary> |
| 9 | internal 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 | |