Franz.Common.SSO
1.5.3
See the version list below for details.
dotnet add package Franz.Common.SSO --version 1.5.3
NuGet\Install-Package Franz.Common.SSO -Version 1.5.3
<PackageReference Include="Franz.Common.SSO" Version="1.5.3" />
<PackageVersion Include="Franz.Common.SSO" Version="1.5.3" />
<PackageReference Include="Franz.Common.SSO" />
paket add Franz.Common.SSO --version 1.5.3
#r "nuget: Franz.Common.SSO, 1.5.3"
#:package Franz.Common.SSO@1.5.3
#addin nuget:?package=Franz.Common.SSO&version=1.5.3
#tool nuget:?package=Franz.Common.SSO&version=1.5.3
Franz.Common.SSO
A library within the Franz Framework designed to provide streamlined support for Single Sign-On (SSO) using ASP.NET Core Identity and Entity Framework Core. This package includes interfaces and implementations for managing SSO providers and configuring SSO services.
Features
- SSO Provider Management:
ISsoProvider
interface for defining custom SSO providers.GenericSSOProvider
andGenericSSOManager
for generic implementations of SSO workflows.
- Service Registration:
SsoServiceRegistration
to simplify the integration of SSO services into your application.
- ASP.NET Core Identity Integration:
- Full support for ASP.NET Core Identity and Entity Framework Core for identity management.
Version Information
- Current Version: 1.5.3
- Part of the private Franz Framework ecosystem.
Dependencies
This package relies on the following dependencies:
- Microsoft.AspNetCore.Identity (2.2.0): Provides core Identity functionality.
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (8.0.0): Adds Entity Framework Core integration for ASP.NET Identity.
Additionally, it integrates with:
- Franz.Common.EntityFramework: Provides foundational Entity Framework utilities.
Installation
From Private Azure Feed
Since this package is hosted privately, configure your NuGet client:
dotnet nuget add source "https://your-private-feed-url" \
--name "AzurePrivateFeed" \
--username "YourAzureUsername" \
--password "YourAzurePassword" \
--store-password-in-clear-text
Install the package:
dotnet add package Franz.Common.SSO
Usage
1. Register SSO Services
Use SsoServiceRegistration
to register SSO services in your application:
using Franz.Common.SSO.Extensions;
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddSsoServices(options =>
{
options.DefaultProvider = "YourSSOProvider";
});
}
}
2. Implement a Custom SSO Provider
Create a custom implementation of ISsoProvider
:
using Franz.Common.SSO.Interfaces;
public class CustomSSOProvider : ISsoProvider
{
public Task<string> AuthenticateAsync(string token)
{
// Custom authentication logic
return Task.FromResult("AuthenticatedUserId");
}
}
3. Use the GenericSSOManager
Leverage the GenericSSOManager
for managing SSO workflows:
using Franz.Common.SSO;
public class SsoService
{
private readonly GenericSSOManager _ssoManager;
public SsoService(GenericSSOManager ssoManager)
{
_ssoManager = ssoManager;
}
public async Task<string> AuthenticateUserAsync(string token)
{
return await _ssoManager.AuthenticateAsync(token);
}
}
Integration with Franz Framework
The Franz.Common.SSO package integrates seamlessly with the Franz Framework, enabling secure and efficient single sign-on functionality for distributed systems. Use it alongside other Franz packages for enhanced identity and access management.
Contributing
This package is part of a private framework. Contributions are limited to the internal development team. If you have access, follow these steps:
- Clone the repository. @ https://github.com/bestacio89/Franz.Common/
- Create a feature branch.
- Submit a pull request for review.
License
This library is licensed under the MIT License. See the LICENSE
file for more details.
Changelog
Version 1.2.65
- Added
ISsoProvider
for custom SSO provider implementation. - Introduced
GenericSSOProvider
andGenericSSOManager
for generic SSO workflows. - Integrated with ASP.NET Core Identity and Entity Framework Core.
- Provided
SsoServiceRegistration
for streamlined service configuration.
Version 1.3
- Upgraded to .NET 9.0.8
- Added new features and improvements
- Separated business concepts from mediator concepts
- Now compatible with both the in-house mediator and MediatR
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. 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. |
-
net9.0
- Franz.Common.EntityFramework (>= 1.5.3)
- Microsoft.AspNetCore.Identity (>= 2.3.1)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 9.0.8)
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 |
---|---|---|
1.6.3 | 105 | 10/9/2025 |
1.6.2 | 140 | 10/7/2025 |
1.5.9 | 165 | 9/24/2025 |
1.5.4 | 159 | 9/23/2025 |
1.5.3 | 211 | 9/21/2025 |
1.5.2 | 205 | 9/21/2025 |
1.5.0 | 199 | 9/21/2025 |
1.4.4 | 188 | 9/20/2025 |
1.3.14 | 292 | 9/18/2025 |
1.3.13 | 289 | 9/18/2025 |
1.3.5 | 292 | 9/17/2025 |
1.3.4 | 280 | 9/16/2025 |
1.3.3 | 280 | 9/16/2025 |
1.3.2 | 276 | 9/15/2025 |
1.3.1 | 112 | 9/12/2025 |
1.3.0 | 290 | 8/25/2025 |
1.2.65 | 179 | 3/3/2025 |
1.2.64 | 139 | 1/29/2025 |
1.2.63 | 121 | 1/27/2025 |
1.2.62 | 120 | 1/8/2025 |