Skip to main content
Microsoft.AspNetCore.Authentication.JwtBearer package icon

Microsoft.AspNetCore.Authentication.JwtBearer

ASP.NET Core middleware that enables an application to receive an OpenID Connect bearer token. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/1f050242559e7b90ff6c4ee7f99d92b3a5af5a62

Total Downloads
1.3B
1,299,892,148
Published
Mar 6, 2019
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.AspNetCore.Authentication.JwtBearer --version 3.0.0-preview3-19153-02
Package Manager Console
Install-Package Microsoft.AspNetCore.Authentication.JwtBearer -Version 3.0.0-preview3-19153-02
PackageReference
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.0.0-preview3-19153-02" />

Frameworks

.NETCoreApp3.0

Dependencies

Adoption guide

Resource APIs that need standards-based token validation and policy-driven authorization.

Security guide
Why it appears in the guide: JWT bearer authentication middleware for validating access tokens in ASP.NET Core APIs. Trade-off: You still need robust issuer configuration, key rollover handling and defense-in-depth authorization rules.

This version is marked prerelease. Validate its API and upgrade path before production use.

NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.