TrustIdentity.Abstractions 1.0.2

dotnet add package TrustIdentity.Abstractions --version 1.0.2
                    
NuGet\Install-Package TrustIdentity.Abstractions -Version 1.0.2
                    
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.Abstractions" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TrustIdentity.Abstractions" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="TrustIdentity.Abstractions" />
                    
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.Abstractions --version 1.0.2
                    
#r "nuget: TrustIdentity.Abstractions, 1.0.2"
                    
#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.Abstractions@1.0.2
                    
#: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.Abstractions&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=TrustIdentity.Abstractions&version=1.0.2
                    
Install as a Cake Tool

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 validation
  • IAuthorizationCodeService - Authorization code management
  • IRefreshTokenService - Refresh token handling
  • IDeviceFlowService - Device authorization flow
  • IUserService - User management
  • IClientStore - Client storage
  • IResourceStore - Resource storage
  • IProfileService - User profile data
  • IEventService / IEventSink - Event handling
Stores
  • IClientStore - Client persistence
  • IResourceStore - Resource persistence
  • IPersistedGrantStore - Token/code persistence
  • IUserStore - User persistence

Models

Configuration
  • Client - OAuth/OIDC client configuration
  • IdentityResource - OpenID Connect scopes
  • ApiScope - OAuth 2.0 scopes
  • ApiResource - Protected API resources
  • Secret - Client/API secrets
Runtime
  • Token - Token descriptor
  • AuthorizationCode - Authorization code
  • RefreshToken - Refresh token
  • DeviceCode - Device flow code
  • PersistedGrant - Generic grant storage

🔧 Usage

This package is typically referenced by:

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

AI-powered fraud detection and behavior analysis for TrustIdentity.

TrustIdentity.Storage

Entity Framework Core and distributed caching storage implementations for TrustIdentity.

TrustIdentity.Server

Complete Enterprise IAM Server - OAuth 2.0, OIDC, SAML, WS-Fed

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 254 2/5/2026
1.0.1 222 2/4/2026
1.0.0 243 1/22/2026

- 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.