TrustIdentity.Abstractions
1.0.2
dotnet add package TrustIdentity.Abstractions --version 1.0.2
NuGet\Install-Package TrustIdentity.Abstractions -Version 1.0.2
<PackageReference Include="TrustIdentity.Abstractions" Version="1.0.2" />
<PackageVersion Include="TrustIdentity.Abstractions" Version="1.0.2" />
<PackageReference Include="TrustIdentity.Abstractions" />
paket add TrustIdentity.Abstractions --version 1.0.2
#r "nuget: TrustIdentity.Abstractions, 1.0.2"
#:package TrustIdentity.Abstractions@1.0.2
#addin nuget:?package=TrustIdentity.Abstractions&version=1.0.2
#tool nuget:?package=TrustIdentity.Abstractions&version=1.0.2
TrustIdentity.Abstractions
Core interfaces and models for TrustIdentity
📦 Overview
TrustIdentity.Abstractions contains all interfaces, models, and contracts used throughout TrustIdentity. This package defines the core abstractions without implementation details.
📋 Key Components
Interfaces
Services
ITokenService- Token creation and validationIAuthorizationCodeService- Authorization code managementIRefreshTokenService- Refresh token handlingIDeviceFlowService- Device authorization flowIUserService- User managementIClientStore- Client storageIResourceStore- Resource storageIProfileService- User profile dataIEventService/IEventSink- Event handling
Stores
IClientStore- Client persistenceIResourceStore- Resource persistenceIPersistedGrantStore- Token/code persistenceIUserStore- User persistence
Models
Configuration
Client- OAuth/OIDC client configurationIdentityResource- OpenID Connect scopesApiScope- OAuth 2.0 scopesApiResource- Protected API resourcesSecret- Client/API secrets
Runtime
Token- Token descriptorAuthorizationCode- Authorization codeRefreshToken- Refresh tokenDeviceCode- Device flow codePersistedGrant- Generic grant storage
🔧 Usage
This package is typically referenced by:
TrustIdentity.Core- Core implementationsTrustIdentity.Storage- Storage implementations- Custom extensions and plugins
Implementing Custom Services
using TrustIdentity.Abstractions.Services;
public class CustomProfileService : IProfileService
{
public async Task GetProfileDataAsync(ProfileDataRequestContext context)
{
// Your implementation
}
public async Task IsActiveAsync(IsActiveContext context)
{
// Your implementation
}
}
Implementing Custom Stores
using TrustIdentity.Abstractions.Stores;
public class CustomClientStore : IClientStore
{
public async Task<Client?> FindClientByIdAsync(string clientId)
{
// Your implementation
}
}
🏗️ Architecture
TrustIdentity.Abstractions/
├── Services/ # Service interfaces
├── Stores/ # Store interfaces
├── Models/ # Domain models
├── Configuration/ # Configuration models
└── Validation/ # Validation interfaces
📄 License
Apache 2.0 - See LICENSE
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- No dependencies.
NuGet packages (13)
Showing the top 5 NuGet packages that depend on TrustIdentity.Abstractions:
| Package | Downloads |
|---|---|
|
TrustIdentity.Core
Main authentication engine and token services for TrustIdentity. |
|
|
TrustIdentity.ML
Machine Learning models and logic for TrustIdentity. |
|
|
TrustIdentity.Storage
Entity Framework Core and distributed caching storage implementations for TrustIdentity. |
|
|
TrustIdentity.AI
AI-powered fraud detection and behavior analysis for TrustIdentity. |
|
|
TrustIdentity.Saml
SAML 2.0 protocol support for TrustIdentity. |
GitHub repositories
This package is not used by any popular GitHub repositories.
- Full implementation of OAuth 2.0 and OpenID Connect 1.0.
- Integrated SAML 2.0 and WS-Federation support.
- Advanced AI/ML-driven fraud detection and behavioral analysis.
- FAPI 1.0 & 2.0 (Security Profile) compliance.
- Support for PKCE, DPoP, Mutual TLS, PAR, and JAR.
- Entity Framework Core support for SQL Server, PostgreSQL, MySQL, and SQLite.
- Multi-tenant isolation and Backend-for-Frontend (BFF) patterns.
- Complete Admin UI and REST API for identity management.