DotNetAuth.AuthServer
1.0.2
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package DotNetAuth.AuthServer --version 1.0.2
NuGet\Install-Package DotNetAuth.AuthServer -Version 1.0.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="DotNetAuth.AuthServer" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DotNetAuth.AuthServer" Version="1.0.2" />
<PackageReference Include="DotNetAuth.AuthServer" />
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 DotNetAuth.AuthServer --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DotNetAuth.AuthServer, 1.0.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.
#:package DotNetAuth.AuthServer@1.0.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DotNetAuth.AuthServer&version=1.0.2
#tool nuget:?package=DotNetAuth.AuthServer&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DotNetAuth - .NET OAuth 2.1 Library
DotNetAuth is a lightweight and flexible implementation of the OAuth 2.1 specification for .NET. Unlike many other libraries, DotNetAuth offers developers full control over the OAuth process, particularly in customizing the consent screen and defining endpoints.
Features
- Complete OAuth 2.1 implementation with support for all standard grant types
- PKCE (Proof Key for Code Exchange) support for enhanced security
- Customizable consent screen and authorization flow
- Flexible endpoint configuration
- Interface-based design for easy extensibility
- Comprehensive error handling following OAuth 2.1 specifications
- Built-in security best practices
Documentation
- Full Documentation - Detailed usage guide and API reference
- Evaluation Guide - Compare DotNetAuth with other OAuth libraries
Getting Started
Installation
Install via NuGet:
Install-Package DotNetAuth.AuthServer
Basic Usage
// Configure OAuth server settings
var settings = new OAuthServerSettings(
tokenEndpoint: "/oauth/token",
authorizationEndpoint: "/oauth/authorize",
tokenExpirationTime: 3600,
supportedScopes: new[] { "read", "write" },
supportedGrantTypes: new[] { "authorization_code" },
authorizationCodeGenerator: new DefaultAuthorizationCodeGenerator()
);
// Register services
services.AddDotNetAuth(settings);
Customization
DotNetAuth provides several interfaces for customization:
IAccessTokenGenerator: Custom token generationIAuthorizationCodeGenerator: Custom authorization code handlingIClientStore: Custom client managementIScopeHandler: Custom scope validationIUserHandler: Custom user management
For detailed implementation examples and best practices, see our documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- System.IdentityModel.Tokens.Jwt (>= 7.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|