microsoft/teams.net

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
436972edd2a63f773497d45cdc1de6342c7a1c20

Branches

Tags

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

Clone

HTTPS

Download ZIP

Libraries/Microsoft.Teams.Apps/AppOptions.cs

28lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License.
3
4using Microsoft.Teams.Apps.Plugins;
5
6namespace Microsoft.Teams.Apps;
7
8public class AppOptions
9{
10 public IServiceProvider? Provider { get; set; }
11 public Common.Logging.ILogger? Logger { get; set; }
12 public Common.Storage.IStorage<string, object>? Storage { get; set; }
13 public Common.Http.IHttpClient? Client { get; set; }
14 public Common.Http.IHttpClientFactory? ClientFactory { get; set; }
15 public Common.Http.IHttpCredentials? Credentials { get; set; }
16 public IList<IPlugin> Plugins { get; set; } = [];
17 public OAuthSettings OAuth { get; set; } = new OAuthSettings();
18
19 public AppOptions()
20 {
21
22 }
23
24 public AppOptions(IServiceProvider provider)
25 {
26 Provider = provider;
27 }
28}