TrustIdentity.Storage 1.0.0

There is a newer version of this package available.
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
                    
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="TrustIdentity.Storage" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TrustIdentity.Storage" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="TrustIdentity.Storage" />
                    
Project file
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 TrustIdentity.Storage --version 1.0.0
                    
#r "nuget: TrustIdentity.Storage, 1.0.0"
                    
#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 TrustIdentity.Storage@1.0.0
                    
#: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=TrustIdentity.Storage&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=TrustIdentity.Storage&version=1.0.0
                    
Install as a Cake Tool

TrustIdentity - Complete Identity & Access Management for .NET

License .NET NuGet

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 interfaces
  • TrustIdentity.Core - Business logic & models
  • TrustIdentity.Storage - EF Core persistence
  • TrustIdentity.AspNetCore - Web integration
  • TrustIdentity.Saml - SAML 2.0 implementation
  • TrustIdentity.WsFederation - WS-Federation implementation
  • TrustIdentity.AI - AI fraud detection
  • TrustIdentity.ML - ML.NET models

🎓 Documentation

💡 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


Built with ❤️ for the .NET community

TrustIdentity - Enterprise Identity & Access Management, AI/ML-Powered.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last Updated
1.0.2 139 2/5/2026
1.0.1 113 2/4/2026
1.0.0 112 1/22/2026