when i press crl right click in app.UseAuthentication() in vs code it only open the interface class but not actual implementation.
app.UseAuthentication();
//this will open the following class
#region Assembly Microsoft.AspNetCore.Authorization.Policy, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Microsoft.AspNetCore.Authorization.Policy.dll
#endregion
#nullable enable
namespace Microsoft.AspNetCore.Builder
{
//
// Summary:
// Extension methods to add authorization capabilities to an HTTP application pipeline.
public static class AuthorizationAppBuilderExtensions
{
//
// Summary:
// Adds the Microsoft.AspNetCore.Authorization.AuthorizationMiddleware to the specified
// Microsoft.AspNetCore.Builder.IApplicationBuilder, which enables authorization
// capabilities.
// When authorizing a resource that is routed using endpoint routing, this call
// must appear between the calls to app.UseRouting() and app.UseEndpoints(...) for
// the middleware to function correctly.
//
// Parameters:
// app:
// The Microsoft.AspNetCore.Builder.IApplicationBuilder to add the middleware to.
//
// Returns:
// A reference to app after the operation has completed.
public static IApplicationBuilder UseAuthorization(this IApplicationBuilder app);
}
}
i'm aspecting the actual implementation service class
CodePudding user response:
For the ASP.NET Core source code you can find it on
anyone have idea how to source code inside PriorityQueue`2.cs