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/test/ABSTokenServiceClient/Program.cs

15lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4using ABSTokenServiceClient;
5using Microsoft.AspNetCore.Builder;
6using Microsoft.Teams.Bot.Core;
7using Microsoft.Teams.Bot.Core.Hosting;
8using Microsoft.Extensions.DependencyInjection;
9
10WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
11
12builder.Services.AddUserTokenClient();
13builder.Services.AddHostedService<UserTokenCLIService>();
14WebApplication host = builder.Build();
15host.Run();
16