// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using {{YOUR_NAMESPACE}}.Configuration;
namespace {{YOUR_NAMESPACE}}.SSO;
///
/// Contains settings for an .
///
public class TeamsBotSsoPromptSettings
{
///
/// Constructor of TeamsBotSsoPromptSettings
///
public TeamsBotSsoPromptSettings(BotAuthenticationOptions botAuthOptions, string[] scopes, int timeout = 900000)
{
BotAuthOptions = botAuthOptions;
Scopes = scopes;
Timeout = timeout;
}
///
/// Gets or sets the array of strings that declare the desired permissions and the resources requested.
///
/// The array of strings that declare the desired permissions and the resources requested.
public string[] Scopes { get; set; }
///
/// Gets or sets the number of milliseconds the prompt waits for the user to authenticate.
/// Default is 900,000 (15 minutes).
///
/// The number of milliseconds the prompt waits for the user to authenticate.
public int Timeout { get; set; }
///
/// Gets or sets bot related authentication options.
///
public BotAuthenticationOptions BotAuthOptions { get; set; }
}