microsoft/teams.net
Publicmirrored fromhttps://github.com/microsoft/teams.netAvailable
Libraries/Microsoft.Teams.Apps/AppOptions.cs
28lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | using Microsoft.Teams.Apps.Plugins; |
| 5 | |
| 6 | namespace Microsoft.Teams.Apps; |
| 7 | |
| 8 | public 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 | } |