PulseTrade.Comm.Login.SqlServer
0.1.0-alpha2
See the version list below for details.
dotnet add package PulseTrade.Comm.Login.SqlServer --version 0.1.0-alpha2
NuGet\Install-Package PulseTrade.Comm.Login.SqlServer -Version 0.1.0-alpha2
<PackageReference Include="PulseTrade.Comm.Login.SqlServer" Version="0.1.0-alpha2" />
<PackageVersion Include="PulseTrade.Comm.Login.SqlServer" Version="0.1.0-alpha2" />
<PackageReference Include="PulseTrade.Comm.Login.SqlServer" />
paket add PulseTrade.Comm.Login.SqlServer --version 0.1.0-alpha2
#r "nuget: PulseTrade.Comm.Login.SqlServer, 0.1.0-alpha2"
#:package PulseTrade.Comm.Login.SqlServer@0.1.0-alpha2
#addin nuget:?package=PulseTrade.Comm.Login.SqlServer&version=0.1.0-alpha2&prerelease
#tool nuget:?package=PulseTrade.Comm.Login.SqlServer&version=0.1.0-alpha2&prerelease
PulseTrade.Comm.Login.SqlServer
PulseTrade.Comm.Login.SqlServer is the SQL Server durable session-store provider for PulseTrade.Comm.Login.Core.
Journal / Snapshot / DB
This package does not use Akka.Persistence journal or snapshot-store tables. It owns one SQL Server table in the caller-selected database.
Current database selection:
LoginSqlServerProviderConfig.create connectionStringuses the database in the supplied connection string.LoginSqlServerProviderConfig.fromEnvironment envNamereads the connection string from an environment variable.EnsureDatabase=falseby default; setwithEnsureDatabase trueonly when the host wants this package to create the database fromInitial Catalog.Schema="dbo"by default; override withwithSchema.
Current DDL:
CREATE TABLE [dbo].[LoginSession](
SessionId NVARCHAR(256) NOT NULL CONSTRAINT PK_LoginSession PRIMARY KEY,
AccessTokenHash CHAR(64) NOT NULL,
RefreshTokenHash CHAR(64) NOT NULL,
PrincipalId NVARCHAR(256) NOT NULL,
Provider NVARCHAR(128) NOT NULL,
ExpiresAtUtc DATETIMEOFFSET(7) NOT NULL,
RefreshExpiresAtUtc DATETIMEOFFSET(7) NOT NULL,
Revoked BIT NOT NULL,
RecordJson NVARCHAR(MAX) NOT NULL,
UpdatedAtUtc DATETIMEOFFSET(7) NOT NULL,
InsertedAtUtc DATETIMEOFFSET(7) NOT NULL
);
CREATE INDEX IX_LoginSession_AccessTokenHash ON [dbo].[LoginSession](AccessTokenHash);
CREATE INDEX IX_LoginSession_RefreshTokenHash ON [dbo].[LoginSession](RefreshTokenHash);
CREATE INDEX IX_LoginSession_Principal ON [dbo].[LoginSession](PrincipalId, Provider);
RecordJson uses ptc.login.session-store.snapshot.v1 row JSON from PulseTrade.Comm.Login.Core.LoginSessionRecordJson. Token hashes are indexed for lookup; the full opaque tokens remain inside RecordJson, so the database is sensitive runtime state. Runtime DDL quotes schema identifiers and SQL string literals before generating OBJECT_ID / CREATE TABLE statements.
| 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
- FSharp.Core (>= 10.1.301)
- Microsoft.Data.SqlClient (>= 7.0.1)
- PulseTrade.Comm.Login.Core (= 0.1.0-alpha5)
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 |
|---|---|---|
| 0.1.0-alpha3 | 61 | 7/2/2026 |
| 0.1.0-alpha2 | 58 | 6/30/2026 |
| 0.1.0-alpha1 | 54 | 6/30/2026 |