TrustIdentity.Storage
1.0.0
See the version list below for details.
dotnet add package TrustIdentity.Storage --version 1.0.0
NuGet\Install-Package TrustIdentity.Storage -Version 1.0.0
<PackageReference Include="TrustIdentity.Storage" Version="1.0.0" />
<PackageVersion Include="TrustIdentity.Storage" Version="1.0.0" />
<PackageReference Include="TrustIdentity.Storage" />
paket add TrustIdentity.Storage --version 1.0.0
#r "nuget: TrustIdentity.Storage, 1.0.0"
#:package TrustIdentity.Storage@1.0.0
#addin nuget:?package=TrustIdentity.Storage&version=1.0.0
#tool nuget:?package=TrustIdentity.Storage&version=1.0.0
TrustIdentity - Complete Identity & Access Management for .NET
TrustIdentity is a complete, production-ready OpenID Connect and OAuth 2.0 framework for .NET 9/10 with advanced AI/ML capabilities. Built with 100% feature parity to Duende IdentityServer, plus unique fraud detection and behavioral analysis features.
🎯 One-Command Installation
dotnet add package TrustIdentity.Server
That's it! One package includes everything.
✨ Key Features
🌐 Complete Protocol Support
- ✅ OpenID Connect (OIDC) 1.0
- ✅ OAuth 2.0 (RFC 6749)
- ✅ SAML 2.0 (Identity Provider & Service Provider)
- ✅ WS-Federation 1.2
- ✅ All 8 Grant Types: Authorization Code, Client Credentials, Implicit, Hybrid, ROPC, Device Flow, Refresh Token, Token Exchange
🔐 Production-Grade Security
- ✅ PKCE (RFC 7636) & DPoP (RFC 9449)
- ✅ PAR (RFC 9126) & mTLS (RFC 8705)
- ✅ JWT & Reference tokens
- ✅ Token Encryption & Signing (RSA, EC)
- ✅ Key Management & Automatic Rotation
- ✅ Security Headers & Rate Limiting
- ✅ CORS & Account Lockout
🧠 AI/ML Capabilities (Unique!)
- ✅ Real-time fraud detection with ML.NET
- ✅ Behavioral analysis - pattern recognition
- ✅ Risk scoring - composite risk calculation
- ✅ Adaptive authentication - AI-driven MFA
- ✅ Anomaly detection - suspicious activity alerts
- ✅ Device fingerprinting - track user devices
💾 Enterprise Storage
- ✅ Entity Framework Core
- ✅ SQL Server, PostgreSQL, MySQL, SQLite
- ✅ In-memory stores for development
- ✅ Distributed caching (Redis)
🚀 Quick Start
using TrustIdentity.AspNetCore.Extensions;
var builder = WebApplication.CreateBuilder(args);
// Add TrustIdentity with AI/ML
builder.Services.AddTrustIdentity(options =>
{
options.IssuerUri = "https://localhost:5001";
options.EnableAI = true;
options.EnableFraudDetection = true;
})
.AddInMemoryClients(Config.Clients)
.AddInMemoryIdentityResources(Config.IdentityResources)
.AddInMemoryApiScopes(Config.ApiScopes)
.AddDeveloperSigningCredential()
.AddAIFraudDetection()
.AddBehaviorAnalysis()
.AddRiskScoring();
var app = builder.Build();
app.UseTrustIdentity();
app.Run();
📦 Package Structure
TrustIdentity.Server (meta-package) includes:
TrustIdentity.Abstractions- Core interfacesTrustIdentity.Core- Business logic & modelsTrustIdentity.Storage- EF Core persistenceTrustIdentity.AspNetCore- Web integrationTrustIdentity.Saml- SAML 2.0 implementationTrustIdentity.WsFederation- WS-Federation implementationTrustIdentity.AI- AI fraud detectionTrustIdentity.ML- ML.NET models
🎓 Documentation
- Getting Started
- OIDC & OAuth 2.0 Guide
- SAML 2.0 Guide
- WS-Federation Guide
- NuGet Publishing Guide
- Project Overview
- Contributing
💡 Why TrustIdentity?
| Feature | Others | TrustIdentity |
|---|---|---|
| OAuth 2.0 / OIDC | ✅ | ✅ |
| SAML 2.0 | ✅ | ✅ |
| WS-Federation | ✅ | ✅ |
| All Grant Types | ✅ | ✅ |
| EF Core Storage | ✅ | ✅ |
| AI Fraud Detection | ❌ | ✅ |
| Behavioral Analysis | ❌ | ✅ |
| Risk Scoring | ❌ | ✅ |
| License | Commercial | Apache 2.0 (FREE) |
| Cost | $1,500+/year | $0 |
Roadmap
- Complete OAuth 2.0 & OpenID Connect
- AI/ML fraud detection
- Entity Framework Core support
- SAML 2.0 support
- WS-Federation support
- Azure AD B2C compatibility (External Provider)
- Admin UI
- Multi-tenancy
📄 License
Apache 2.0 - See LICENSE for details. This project is completely free and open source. No license fees, ever.
🤝 Contributing
Contributions welcome! See CONTRIBUTING.md for guidelines.
🌟 Support
- 📧 Email: web.html123@gmail.com
- 💬 Discussions: GitHub Discussions
- 🐛 Issues: GitHub Issues
Built with ❤️ for the .NET community
TrustIdentity - Enterprise Identity & Access Management, AI/ML-Powered.
| 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
- Microsoft.EntityFrameworkCore (>= 9.0.0)
- Microsoft.EntityFrameworkCore.Sqlite (>= 9.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 9.0.0)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 9.0.0)
- TrustIdentity.Abstractions (>= 1.0.0)
- TrustIdentity.Core (>= 1.0.0)
- TrustIdentity.Licensing (>= 1.0.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on TrustIdentity.Storage:
| Package | Downloads |
|---|---|
|
TrustIdentity.AspNetCore
ASP.NET Core middleware, tag helpers, and integration for TrustIdentity server. |
|
|
TrustIdentity.Server
Complete Enterprise IAM Server - OAuth 2.0, OIDC, SAML, WS-Fed |
|
|
TrustIdentity.AdminApi
Administrative API for TrustIdentity Server. |
|
|
TrustIdentity.Admin
Complete administration interface for TrustIdentity - Manage clients, resources, users, and security settings. |
GitHub repositories
This package is not used by any popular GitHub repositories.