File tree 1 file changed +0
-3
lines changed
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 1
1
// Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
4
- using System . Diagnostics . CodeAnalysis ;
5
4
using System . Linq ;
6
5
using Microsoft . AspNetCore . Authentication . BearerToken . DTO ;
7
6
using Microsoft . AspNetCore . Builder ;
@@ -28,8 +27,6 @@ public static class IdentityApiEndpointRouteBuilderExtensions
28
27
/// Call <see cref="EndpointRouteBuilderExtensions.MapGroup(IEndpointRouteBuilder, string)"/> to add a prefix to all the endpoints.
29
28
/// </param>
30
29
/// <returns>An <see cref="IEndpointConventionBuilder"/> to further customize the added endpoints.</returns>
31
- // TODO: Remove RequiresDynamicCode when https://github.com/dotnet/aspnetcore/issues/47918 is fixed and RDG is enabled.
32
- [ RequiresDynamicCode ( "This API requires generated code that is not compatible with native AOT applications." ) ]
33
30
public static IEndpointConventionBuilder MapIdentityApi < TUser > ( this IEndpointRouteBuilder endpoints ) where TUser : class , new ( )
34
31
{
35
32
ArgumentNullException . ThrowIfNull ( endpoints ) ;
You can’t perform that action at this time.
0 commit comments