Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ops-ai/IdentityServer4.Contrib.RavenDB
https://github.com/ops-ai/IdentityServer4.Contrib.RavenDB
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ops-ai/IdentityServer4.Contrib.RavenDB
- Owner: ops-ai
- License: mit
- Created: 2020-12-31T07:25:46.000Z (almost 4 years ago)
- Default Branch: develop
- Last Pushed: 2023-10-27T16:04:04.000Z (about 1 year ago)
- Last Synced: 2024-08-02T19:34:02.386Z (3 months ago)
- Language: C#
- Size: 59.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IdentityServer 4 RavenDB stores
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ops-ai_identityserver4-ravendb&metric=alert_status)](https://sonarcloud.io/dashboard?id=ops-ai_identityserver4-ravendb)
[![Build Status](https://opsai.visualstudio.com/BeyondAuth/_apis/build/status/ops-ai.IdentityServer4.Contrib.RavenDB?branchName=develop)](https://opsai.visualstudio.com/BeyondAuth/_build/latest?definitionId=4&branchName=develop)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=ops-ai_identityserver4-ravendb&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=ops-ai_identityserver4-ravendb)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=ops-ai_identityserver4-ravendb&metric=coverage)](https://sonarcloud.io/dashboard?id=ops-ai_identityserver4-ravendb)
![CodeQL](https://github.com/ops-ai/IdentityServer4.Contrib.RavenDB/workflows/CodeQL/badge.svg)[![NuGet Status](https://img.shields.io/nuget/v/IdentityServer4.Contrib.RavenDB.svg?style=flat)](https://www.nuget.org/packages/IdentityServer4.Contrib.RavenDB/)
[![NuGet Count](https://img.shields.io/nuget/dt/IdentityServer4.Contrib.RavenDB.svg)](https://www.nuget.org/packages/IdentityServer4.Contrib.RavenDB/)### Enable Document Expiration
```
await store.Maintenance.SendAsync(new ConfigureExpirationOperation(new ExpirationConfiguration
{
Disabled = false,
DeleteFrequencyInSec = 60
}));
```### Register Claims and Principals custom IdentityServer serializers
```
documentStore.Conventions.CustomizeJsonSerializer += (JsonSerializer serializer) =>
{
serializer.Converters.Add(new ClaimConverter());
serializer.Converters.Add(new ClaimsPrincipalConverter());
};
```