Trinsic.Api 2.1.1-alpha2

This is a prerelease version of Trinsic.Api.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Trinsic.Api --version 2.1.1-alpha2
                    
NuGet\Install-Package Trinsic.Api -Version 2.1.1-alpha2
                    
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="Trinsic.Api" Version="2.1.1-alpha2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Trinsic.Api" Version="2.1.1-alpha2" />
                    
Directory.Packages.props
<PackageReference Include="Trinsic.Api" />
                    
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 Trinsic.Api --version 2.1.1-alpha2
                    
#r "nuget: Trinsic.Api, 2.1.1-alpha2"
                    
#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 Trinsic.Api@2.1.1-alpha2
                    
#: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=Trinsic.Api&version=2.1.1-alpha2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Trinsic.Api&version=2.1.1-alpha2&prerelease
                    
Install as a Cake Tool

Trinsic API C# Library

Version Build Status

The Trinsic API C# library provides convenient access to the Trinsic API from applications written in C#.

Documentation

See the Trinsic docs for more detailed information on how to start integrating with our identity acceptance network.

Installation

Via the NuGet Package Manager

nuget install Trinsic.Api

Via the .NET Core Command Line Tools

dotnet add package Trinsic.Api

Usage

The package needs to be configured with your app's access token, which is available in the Trinsic Dashboard.


// Add the trinsic api to your dependency injection framework 
builder.Services.AddTrinsicApi(options =>
{
    options.AddTokens(new BearerToken(Environment.GetEnvironmentVariable("TRINSIC_ACCESS_TOKEN")));
});

var sessionApi = app.Services.GetService<ISessionsApi>()!;
var networkApi = app.Services.GetService<INetworkApi>()!;
var attachmentsApi = app.Services.GetService<IAttachmentsApi>()!;

You can find a full C# example in the samples folder.

SDK Versioning

Our SDKs follow the Semantic Versioning ("SemVer") scheme.

For example, the version number 1.13.0 has a major version of 1, a minor version of 13, and a patch version of 0.

Breaking changes are only introduced alongside a new major version.

Support

Any issues, inquiries, and feature requests can be sent to support@trinsic.id, or feel free to open a GitHub issue here.

More Information

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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

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
2.1.2-alpha2 127 9/10/2025
2.1.2-alpha1 138 9/7/2025
2.1.1-alpha2 127 8/20/2025
2.1.1-alpha1 217 8/5/2025
2.1.0 2,275 8/1/2025
2.1.0-alpha1 115 7/29/2025
2.0.5 2,078 5/22/2025
2.0.4 163 5/6/2025
2.0.3 152 5/6/2025
2.0.2 2,468 4/10/2025
2.0.1 229 4/10/2025
2.0.0 383 4/8/2025
2.0.0-alpha4 436 4/5/2025
2.0.0-alpha3 512 3/17/2025
2.0.0-alpha2 111 3/14/2025
2.0.0-alpha 154 3/13/2025
1.2.0 4,983 11/16/2024
1.1.2 1,556 10/10/2024
1.1.1 710 9/18/2024
1.1.0 335 9/12/2024
1.0.0 431 9/5/2024
0.6.1 249 9/4/2024
0.6.0 127 9/4/2024
0.5.5 130 9/4/2024
0.5.1 123 9/4/2024
0.5.0 126 9/4/2024
0.4.3 130 9/4/2024
0.4.2 116 9/3/2024
0.4.0 196 8/28/2024
0.3.0 162 8/21/2024
0.2.4 157 8/21/2024

Minor update