-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ccbb8f
commit d8f210b
Showing
21 changed files
with
274 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# Abblix.Oidc.Server.Mvc | ||
|
||
The Abblix.Oidc.Server.Mvc library extends the capabilities of Abblix.Oidc.Server by integrating seamlessly with ASP.NET Core MVC applications. It provides specialized support for MVC-based projects, enhancing the OpenID Connect (OIDC) protocol implementation with MVC-specific features and configurations. | ||
|
||
## Features | ||
|
||
- **MVC Integration**: Designed specifically for ASP.NET Core MVC applications, ensuring a smooth integration. | ||
- **Enhanced Routing and Controllers**: Supports MVC routing and controllers for OIDC endpoints, offering greater control over the OIDC flow within MVC applications. | ||
- **Customizable View Components**: Offers customizable MVC view components for login, logout, and consent pages, allowing for a consistent user experience aligned with your application's design. | ||
- **Extended Documentation**: Includes detailed documentation on MVC-specific configurations and best practices. | ||
|
||
## Getting Started | ||
|
||
Ensure you have the .NET SDK and ASP.NET Core MVC installed on your system. Abblix.Oidc.Server.Mvc can be added to your MVC project using the NuGet Package Manager: | ||
|
||
```powershell | ||
Install-Package Abblix.Oidc.Server.Mvc | ||
``` | ||
|
||
## Getting Started | ||
|
||
To get started with Abblix.Oidc.Server, first, ensure you have the .NET SDK installed on your system. Then, you can add the library to your project using the NuGet Package Manager: | ||
|
||
```powershell | ||
Install-Package Abblix.Oidc.Server | ||
``` | ||
|
||
## Usage | ||
Here's how to integrate Abblix.Oidc.Server.Mvc into an ASP.NET Core MVC application: | ||
|
||
Configure Services: | ||
```csharp | ||
public void ConfigureServices(IServiceCollection services) | ||
{ | ||
services.AddAbblixOidcServer(options => | ||
{ | ||
options.Issuer = "https://yourdomain.com"; | ||
// Configure other options as needed | ||
}); | ||
} | ||
``` | ||
|
||
Define an Endpoint: | ||
```csharp | ||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) | ||
{ | ||
// Use routing | ||
app.UseRouting(); | ||
|
||
// Use authentication and authorization | ||
app.UseAuthentication(); | ||
app.UseAuthorization(); | ||
|
||
// Map OIDC endpoints | ||
app.UseEndpoints(endpoints => | ||
{ | ||
endpoints.MapAbblixOidcServer(); | ||
}); | ||
} | ||
``` | ||
|
||
## API Reference | ||
The library offers a wide range of APIs to manage authentication, tokens, clients, and more. For detailed API documentation, please refer to API Documentation. | ||
|
||
## Support | ||
For support, you can check the comprehensive documentation or raise an issue on the project’s GitHub page if you encounter any problems or have suggestions for improvements. | ||
|
||
## Contributing | ||
We welcome contributions from the community! If you're interested in contributing, please read our contributing guidelines and submit a pull request. | ||
|
||
# License | ||
|
||
Abblix OIDC Server is available under different licensing models: | ||
|
||
## For Non-Commercial and Educational Projects | ||
|
||
If you're working on a free educational project, a game without monetization, or testing versions of commercial systems for piloting/demonstrating performance in internal non-commercial environments without generating profit, you can download and use Abblix OIDC Server free of charge. This free license is subject to all terms and conditions specified in the full [LICENSE.md](LICENSE.md). | ||
|
||
## For Commercial Use | ||
|
||
For commercial projects or any projects that include any form of monetization (including advertisements, paid subscriptions, or any commercial component), a proprietary license must be obtained. Please refer to the [LICENSE.md](LICENSE.md) for detailed terms and conditions regarding commercial use. | ||
|
||
## Activation and Duration | ||
|
||
The license for Abblix OIDC Server may require activation, and the number of activations can be limited. The duration of the license, including any extensions, is specified at the time of purchase or as agreed upon with any Abblix partner from whom you might obtain the software. | ||
|
||
## Compliance | ||
|
||
By using Abblix OIDC Server, you agree to comply with the terms set forth in the LICENSE.md file and ensure your use of the software does not violate any applicable laws or regulations. | ||
|
||
For detailed licensing information, please consult the [LICENSE.md](LICENSE.md) file provided with this package. | ||
|
||
If you have any questions or require further information regarding licensing for the Abblix OIDC Server, please contact us at [email protected] or visit our website at www.abblix.com. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd"> | ||
<metadata> | ||
<id>Abblix.Oidc.Server</id> | ||
<version>1.0.0</version> | ||
<title>Abblix OpenID Connect Server</title> | ||
<authors>Abblix.Oidc.Server</authors> | ||
<description>Flexible OpenID Connect and OAuth 2.0 server-side implementation for modern ASP.NET projects</description> | ||
<repository type="git" url="https://github.com/Abblix/Oidc.Server" commit="6ccbb8fb05e4eed5f1bfcfbbee401dd9deb9df28" /> | ||
<dependencies> | ||
<group targetFramework="net6.0"> | ||
<dependency id="Abblix.DependencyInjection" version="1.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Abblix.Jwt" version="1.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Extensions.Caching.Memory" version="8.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Extensions.Hosting.Abstractions" version="8.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Extensions.Http" version="8.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Extensions.Options" version="8.0.1" exclude="Build,Analyzers" /> | ||
</group> | ||
<group targetFramework="net7.0"> | ||
<dependency id="Abblix.DependencyInjection" version="1.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Abblix.Jwt" version="1.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Extensions.Caching.Memory" version="8.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Extensions.Hosting.Abstractions" version="8.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Extensions.Http" version="8.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Extensions.Options" version="8.0.1" exclude="Build,Analyzers" /> | ||
</group> | ||
<group targetFramework="net8.0"> | ||
<dependency id="Abblix.DependencyInjection" version="1.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Abblix.Jwt" version="1.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Extensions.Caching.Memory" version="8.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Extensions.Hosting.Abstractions" version="8.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Extensions.Http" version="8.0.0" exclude="Build,Analyzers" /> | ||
<dependency id="Microsoft.Extensions.Options" version="8.0.1" exclude="Build,Analyzers" /> | ||
</group> | ||
</dependencies> | ||
</metadata> | ||
<files> | ||
<file src="bin\Release\net6.0\*.dll" target="lib\net6.0" /> | ||
<file src="bin\Release\net7.0\*.dll" target="lib\net7.0" /> | ||
<file src="bin\Release\net8.0\*.dll" target="lib\net8.0" /> | ||
</files> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.