jimmystridh / IdentityServer4.Postgresql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IdentityServer4.Postgresql

Build status Build Status NuGet Version

Install-Package IdentityServer4.Postgresql

e.g AspNet Core

using IdentityServer4.Postgresql.Extensions;

public void ConfigureServices(IServiceCollection services)
{
   var builder = services.AddIdentityServer();
   builder.AddConfigurationStore().AddOperationalStore();
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
 {
    app.UseIdentityServer():
 }

This will register all the IdentityServer stores and optionally a Marten's IDocumentSession as well as IDocumentStore if you pass a connection string;

About


Languages

Language:C# 84.8%Language:PowerShell 10.3%Language:Shell 5.0%