microsoft/teams.net

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v2.0.8

Branches

Tags

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

Clone

HTTPS

Download ZIP

core/test/ABSTokenServiceClient/Program.cs

14lines · modepreview

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using ABSTokenServiceClient;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Teams.Core.Hosting;

WebApplicationBuilder builder = WebApplication.CreateBuilder(args);

builder.Services.AddUserTokenClient();
builder.Services.AddHostedService<UserTokenCLIService>();
WebApplication host = builder.Build();
host.Run();