Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Microsoft.Identity.Web.Sidecar/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System.Diagnostics.CodeAnalysis;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Cryptography.X509Certificates;
using Microsoft.AspNetCore.Authentication.JwtBearer;
Expand All @@ -12,6 +13,10 @@ namespace Microsoft.Identity.Web.Sidecar;

public class Program
{

// Adding these the time to merge Andy's PR. Then will do the work to remove reflexion usage
[RequiresUnreferencedCode("EnableTokenAcquisitionToCallDownstreamApis uses reflection")]
[RequiresDynamicCode("EnableTokenAcquisitionToCallDownstreamApis uses reflection")]
public static void Main(string[] args)
{
var builder = WebApplication.CreateSlimBuilder(args);
Expand Down