/Orleans.IdentityStore

Use Orleans as an identity store for ASP Core

Primary LanguageC#Apache License 2.0Apache-2.0

Orleans Identity Store

Leverage the sweet power of orleans to persist user credentials using grain storage.

Getting Started

Once you've installed the nuget package, do the following:

SiloBuilder:

siloBuilder.UseOrleanIdentityStore() // Add identity store

Storage Provider

The grain storage provider used is OrleansIdentityStore

Asp Core Startup:

// Add identity
services
    .AddDefaultIdentity<IdentityUser<Guid>>()
    // User orleans as the store
    .AddOrleansStore<IdentityUser<Guid>, IdentityRole<Guid>>();

User Class

Your User class must subclass IdentityUser<Guid>

Role Class

Your Role class must subclass IdentityRole<Guid>