pisum

Pisum.Dataprotection.Shared (1.18.0)

Published 2026-04-14 14:55:03 +02:00 by mschnecke

Installation

dotnet nuget add source --name pisum --username your_username --password your_token 
dotnet add package --source pisum --version 1.18.0 Pisum.Dataprotection.Shared

About this package

ASP.NET Core Data Protection Library.

Pisum.Dataprotection.Shared

Base library for ASP.NET Core Data Protection with pluggable storage backends.

Installation

dotnet add package Pisum.Dataprotection.Shared

Usage

builder.Services.AddDataProtection()
    .ConfigureDataProtection(configuration.GetSection("DataProtection"));

Configuration

{
  "DataProtection": {
    "ApplicationName": "MyApp",
    "Lifetime": 90,
    "DisableKeyGeneration": false
  }
}

Options

Option Type Default Description
ApplicationName string null Application identifier for key isolation
Lifetime int 90 Key lifetime in days
DisableKeyGeneration bool false Disable automatic key generation

Supported Frameworks

  • .NET 8.0
  • .NET 9.0
  • .NET 10.0
Details
NuGet
2026-04-14 14:55:03 +02:00
16
pisum.net
12 KiB
Assets (2)
Versions (1) View all
1.18.0 2026-04-14