Microsoft.AspNetCore.Authorization 3.1.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.Authorization --version 3.1.2
                    
NuGet\Install-Package Microsoft.AspNetCore.Authorization -Version 3.1.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="3.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.Authorization" Version="3.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.Authorization" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.AspNetCore.Authorization --version 3.1.2
                    
#r "nuget: Microsoft.AspNetCore.Authorization, 3.1.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Microsoft.AspNetCore.Authorization&version=3.1.2
                    
Install Microsoft.AspNetCore.Authorization as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Authorization&version=3.1.2
                    
Install Microsoft.AspNetCore.Authorization as a Cake Tool

ASP.NET Core authorization classes.
Commonly used types:
Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute
Microsoft.AspNetCore.Authorization.AuthorizeAttribute

This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/c3acdcac86dad91c3d3fbc3b93ecc6b7ba494bdc

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (759)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Authorization:

Package Downloads
Microsoft.AspNetCore.Authorization.Policy

ASP.NET Core authorization policy helper classes.

Microsoft.AspNetCore.Components

Components feature for ASP.NET Core. This package was built from the source code at https://github.com/dotnet/dotnet/tree/c22dcd0c7a78d095a94d20e59ec0271b9924c82c

Microsoft.AspNetCore.SignalR.Core

Real-time communication framework for ASP.NET Core.

Microsoft.AspNetCore.Components.Authorization

Authentication and authorization support for Blazor applications. This package was built from the source code at https://github.com/dotnet/dotnet/tree/c22dcd0c7a78d095a94d20e59ec0271b9924c82c

Microsoft.AspNetCore.App

Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

GitHub repositories (82)

Showing the top 20 popular GitHub repositories that depend on Microsoft.AspNetCore.Authorization:

Repository Stars
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
dotnetcore/WTM
Use WTM to write .netcore app fast !!!
Ombi-app/Ombi
Want a Movie or TV Show on Plex/Emby/Jellyfin? Use Ombi!
dotnetcore/osharp
OSharp是一个基于.Net6.0的快速开发框架,框架对 AspNetCore 的配置、依赖注入、日志、缓存、实体框架、Mvc(WebApi)、身份认证、功能权限、数据权限等模块进行更高一级的自动化封装,并规范了一套业务实现的代码结构与操作流程,使 .Net 框架更易于应用到实际项目开发中。
aspnet/SignalR
[Archived] Incredibly simple real-time web for ASP.NET Core. Project moved to https://github.com/aspnet/AspNetCore
aspnet/Identity
[Archived] ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. Project moved to https://github.com/aspnet/AspNetCore
enkodellc/blazorboilerplate
Blazor Boilerplate / Starter Template with MudBlazor
CoreWCF/CoreWCF
Main repository for the Core WCF project
Webreaper/Damselfly
Damselfly is a server-based Photograph Management app. The goal of Damselfly is to index an extremely large collection of images, and allow easy search and retrieval of those images, using metadata such as the IPTC keyword tags, as well as the folder and file names. Damselfly includes support for object/face detection.
VirtoCommerce/vc-platform
Virto Commerce B2B Innovation Platform
voat/voat
The code that powers Voat
bitfoundation/bitplatform
Build all of your apps using what you already know and love ❤️
Azure/data-api-builder
Data API builder provides modern REST and GraphQL endpoints to your Azure Databases and on-prem stores.
snatch-dev/Convey
A simple recipe for .NET Core microservices.
security-code-scan/security-code-scan
Vulnerability Patterns Detector for C# and VB.NET
iioter/iotgateway
An industrial IoTGateway with B/S architecture that enables bidirectional communication between industrial devices (southbound connections) and IoT platforms (northbound connections). It supports numerous industrial protocols, and can connect to various IoT cloud platforms.
dotnetzoom/AspNetCore-WebApi-Course
🥇 Professional REST API design with ASP.NET Core WebAPI
Version Downloads Last updated
10.0.0-preview.4.25258.110 306 5/12/2025
10.0.0-preview.3.25172.1 3,503 4/10/2025
10.0.0-preview.2.25164.1 1,814 3/18/2025
10.0.0-preview.1.25120.3 2,128 2/25/2025
9.0.5 20,179 5/13/2025
9.0.4 675,448 4/8/2025
9.0.3 722,775 3/11/2025
9.0.2 1,030,081 2/11/2025
9.0.1 1,189,611 1/14/2025
9.0.0 3,006,011 11/12/2024
9.0.0-rc.2.24474.3 58,631 10/8/2024
9.0.0-rc.1.24452.1 37,536 9/10/2024
9.0.0-preview.7.24406.2 21,981 8/13/2024
9.0.0-preview.6.24328.4 13,163 7/9/2024
9.0.0-preview.5.24306.11 15,094 6/11/2024
9.0.0-preview.4.24267.6 3,872 5/21/2024
9.0.0-preview.3.24172.13 101,626 4/11/2024
9.0.0-preview.2.24128.4 3,058 3/12/2024
9.0.0-preview.1.24081.5 36,362 2/13/2024
8.0.16 10,373 5/13/2025
8.0.15 379,883 4/8/2025
8.0.14 462,815 3/11/2025
8.0.13 604,977 2/11/2025
8.0.12 1,049,106 1/14/2025
8.0.11 3,129,555 11/12/2024
8.0.10 5,062,618 10/8/2024
8.0.8 5,510,728 8/13/2024
8.0.7 3,637,765 7/9/2024
8.0.6 5,496,124 5/28/2024
8.0.5 1,757,586 5/14/2024
8.0.4 4,788,665 4/9/2024
8.0.3 3,855,187 3/12/2024
8.0.2 4,569,087 2/13/2024
8.0.1 4,015,550 1/9/2024
8.0.0 13,882,838 11/14/2023
8.0.0-rc.2.23480.2 232,307 10/10/2023
8.0.0-rc.1.23421.29 71,331 9/12/2023
8.0.0-preview.7.23375.9 90,439 8/8/2023
8.0.0-preview.6.23329.11 54,277 7/11/2023
8.0.0-preview.5.23302.2 14,272 6/13/2023
8.0.0-preview.4.23260.4 51,305 5/16/2023
8.0.0-preview.3.23177.8 10,131 4/11/2023
8.0.0-preview.2.23153.2 6,133 3/14/2023
8.0.0-preview.1.23112.2 58,263 2/21/2023
7.0.20 489,347 5/28/2024
7.0.19 96,166 5/14/2024
7.0.18 151,655 4/9/2024
7.0.17 240,895 3/12/2024
7.0.16 302,413 2/13/2024
7.0.15 374,025 1/9/2024
7.0.14 1,522,167 11/14/2023
7.0.13 848,300 10/24/2023
7.0.12 876,805 10/10/2023
7.0.11 1,050,754 9/12/2023
7.0.10 1,912,237 8/8/2023
7.0.9 1,431,595 7/11/2023
7.0.8 717,753 6/22/2023
7.0.7 741,432 6/13/2023
7.0.5 4,163,998 4/11/2023
7.0.4 1,789,835 3/14/2023
7.0.3 1,567,769 2/14/2023
7.0.2 1,839,674 1/10/2023
7.0.1 4,547,816 12/13/2022
7.0.0 11,394,598 11/7/2022
7.0.0-rc.2.22476.2 63,129 10/11/2022
7.0.0-rc.1.22427.2 82,387 9/14/2022
7.0.0-preview.7.22376.6 131,291 8/9/2022
7.0.0-preview.6.22330.3 9,295 7/12/2022
7.0.0-preview.5.22303.8 3,700 6/14/2022
7.0.0-preview.4.22251.1 93,964 5/10/2022
7.0.0-preview.3.22178.4 14,452 4/13/2022
7.0.0-preview.2.22153.2 3,621 3/14/2022
7.0.0-preview.1.22109.13 24,346 2/17/2022
6.0.36 188,951 11/12/2024
6.0.35 79,026 10/8/2024
6.0.33 223,581 8/13/2024
6.0.32 146,518 7/9/2024
6.0.31 209,225 5/28/2024
6.0.30 127,294 5/14/2024
6.0.29 265,675 4/9/2024
6.0.28 443,704 3/12/2024
6.0.27 380,430 2/13/2024
6.0.26 939,826 1/9/2024
6.0.25 1,334,945 11/14/2023
6.0.24 398,853 10/24/2023
6.0.23 1,679,043 10/10/2023
6.0.22 391,118 9/12/2023
6.0.21 1,579,000 8/8/2023
6.0.20 849,486 7/11/2023
6.0.19 394,697 6/22/2023
6.0.18 246,982 6/13/2023
6.0.16 1,913,085 4/11/2023
6.0.15 897,472 3/14/2023
6.0.14 1,312,469 2/14/2023
6.0.13 1,250,596 1/10/2023
6.0.12 1,389,489 12/13/2022
6.0.11 2,631,194 11/7/2022
6.0.10 5,993,685 10/11/2022
6.0.9 3,305,958 9/13/2022
6.0.8 3,162,276 8/9/2022
6.0.7 3,538,754 7/12/2022
6.0.6 2,853,698 6/14/2022
6.0.5 7,036,347 5/10/2022
6.0.4 4,904,688 4/11/2022
6.0.3 4,221,351 3/8/2022
6.0.2 2,626,550 2/8/2022
6.0.1 7,039,992 12/14/2021
6.0.0 18,359,791 11/8/2021
6.0.0-rc.2.21480.10 146,241 10/12/2021
6.0.0-rc.1.21452.15 95,618 9/14/2021
6.0.0-preview.7.21378.6 147,669 8/10/2021
6.0.0-preview.6.21355.2 200,687 7/14/2021
6.0.0-preview.5.21301.17 61,839 6/15/2021
6.0.0-preview.4.21253.5 50,522 5/24/2021
6.0.0-preview.3.21201.13 359,776 4/8/2021
6.0.0-preview.2.21154.6 4,126 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 19,374 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 646,736 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 95,444 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 164,685 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 214,553 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 887,360 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 878,798 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 988,017 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 1,558,793 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 2,073,927 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 2,155,364 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 1,891,670 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 1,790,159 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 4,102,968 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 1,603,978 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,129,438 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,886,179 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 1,017,030 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 8,157,806 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 515,875 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 176,278 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 35,094 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 13,764 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 17,560 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 3,309 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 11,474 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 11,621 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 21,700 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20124.5 17,748 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 1,910,171 12/13/2022
3.1.31 56,193 11/8/2022
3.1.30 119,375 10/11/2022
3.1.29 181,714 9/13/2022
3.1.28 129,233 8/9/2022
3.1.27 67,303 7/12/2022
3.1.26 47,211 6/14/2022
3.1.25 526,158 5/10/2022
3.1.24 255,766 4/11/2022
3.1.23 131,907 3/8/2022
3.1.22 651,778 12/14/2021
3.1.21 1,709,652 11/7/2021
3.1.20 317,358 10/11/2021
3.1.19 310,410 9/14/2021
3.1.18 860,518 8/10/2021
3.1.17 300,947 7/13/2021
3.1.16 2,795,196 6/8/2021
3.1.15 480,207 5/11/2021
3.1.14 1,504,153 4/6/2021
3.1.13 805,525 3/9/2021
3.1.12 581,345 2/9/2021
3.1.11 1,026,881 1/12/2021
3.1.10 2,251,573 11/9/2020
3.1.9 2,190,209 10/13/2020
3.1.8 5,620,512 9/8/2020
3.1.7 1,641,916 8/11/2020
3.1.6 8,625,112 7/14/2020
3.1.5 3,946,909 6/9/2020
3.1.4 12,617,569 5/12/2020
3.1.3 9,170,125 3/24/2020
3.1.2 5,525,854 2/18/2020
3.1.1 2,709,373 1/14/2020
3.1.0 6,838,660 12/3/2019
3.1.0-preview3.19555.2 2,021,237 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 43,716 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 121,834 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 1,573,420 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 14,692 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 3,550,563 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 91,743 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 245,540 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 30,987 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 36,434 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 194,396 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
2.3.0 4,102,672 1/14/2025
2.2.0 379,115,467 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 160,165 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 87,895 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 53,755 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.2 18,742,748 8/21/2018
2.1.1 75,006,928 6/18/2018
2.1.0 129,969,257 5/29/2018
2.1.0-rc1-final 194,476 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 374,473 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 232,233 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.4 8,426,875 5/7/2018 2.0.4 is deprecated because it is no longer maintained.
2.0.3 8,595,118 3/13/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.1 20,321,940 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 86,235,148 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 125,393 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 44,600 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 2,769,531 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 4,168,626 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 4,212,224 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 4,052,434 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 44,399 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 3,314,815 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 109,232 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 29,018,510 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 17,321,429 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 554,303 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 12,670,298 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 232,947 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.