All Projects → Mjollnirs → Abp.zerocore.identityserver4.configuration

Mjollnirs / Abp.zerocore.identityserver4.configuration

Licence: apache-2.0
IdentityServer4 ConfigurationStore(ClientStore,ResourceStore,CorsPolicyService) for Abp(https://github.com/aspnetboilerplate/aspnetboilerplate)

Projects that are alternatives of or similar to Abp.zerocore.identityserver4.configuration

Authentication
Authentication examples for AspNetCore 3.1
Stars: ✭ 37 (+48%)
Mutual labels:  entity-framework-core, identityserver4
Modernarchitectureshop
The Microservices Online Shop is an application with a modern software architecture that is cleanly designed and based on.NET lightweight technologies. The shop has two build variations. The first variant is the classic Microservices Architectural Style. The second one is with Dapr. Dapr has a comprehensive infrastructure for building highly decoupled Microservices; for this reason, I am using Dapr to achieve the noble goal of building a highly scalable application with clean architecture and clean code.
Stars: ✭ 154 (+516%)
Mutual labels:  entity-framework-core, identityserver4
MonolithicArchitecture
This repository presents an approach on how to build an application using Monolithic architecture, ASP.NET Core, EntityFrameworkCore, Identity Server, CQRS, DDD
Stars: ✭ 18 (-28%)
Mutual labels:  entity-framework-core, identityserver4
MsCoreOne
MsCoreOne is a simple Ecommerce with using many technologies such as .NET 5, Entity Framework Core 5, React 16.13 with modern Clean Architecture, Domain-Driven Design, CQRS, SOLID, Identity Server 4, Blazor. It will focus on resolving the problems always see in the process to develop projects.
Stars: ✭ 77 (+208%)
Mutual labels:  entity-framework-core, identityserver4
Joker
An example of microservices container based application which implemented different approaches within each microservice (DDD, CQRS, Simple CRUD)
Stars: ✭ 41 (+64%)
Mutual labels:  entity-framework-core, identityserver4
fullstack-jobs
Real(ish) demo using Angular with ASP.NET Core GraphQL and IdentityServer.
Stars: ✭ 84 (+236%)
Mutual labels:  entity-framework-core, identityserver4
Sitko.Core
Sitko.Core is a set of libraries to help build .NET Core applications fast
Stars: ✭ 46 (+84%)
Mutual labels:  entity-framework-core, identityserver4
Module Shop
一个基于 .NET Core构建的简单、跨平台、模块化的商城系统
Stars: ✭ 398 (+1492%)
Mutual labels:  entity-framework-core
Filterlists
🛡 The independent, comprehensive directory of filter and host lists for advertisements, trackers, malware, and annoyances.
Stars: ✭ 653 (+2512%)
Mutual labels:  entity-framework-core
Simplcommerce
A simple, cross platform, modularized ecommerce system built on .NET Core
Stars: ✭ 3,474 (+13796%)
Mutual labels:  entity-framework-core
Efsecondlevelcache.core
Entity Framework Core Second Level Caching Library
Stars: ✭ 300 (+1100%)
Mutual labels:  entity-framework-core
Lin Cms Dotnetcore
😃A simple and practical CMS implemented by .NET 5 + FreeSql;前后端分离、Docker部署、OAtuh2授权登录、自动化部署DevOps、自动同步至Gitee、代码生成器、仿掘金专栏
Stars: ✭ 401 (+1504%)
Mutual labels:  identityserver4
Aspnet5identityserverangularimplicitflow
OpenID Connect Code / Implicit Flow with Angular and ASP.NET Core 5 IdentityServer4
Stars: ✭ 670 (+2580%)
Mutual labels:  identityserver4
Blog.identityserver
🥗 打造一个功能强大的通用型Ids4用户认证授权服务中心,配合之前的所有开源项目
Stars: ✭ 315 (+1160%)
Mutual labels:  identityserver4
Entityframework.docs
Documentation for Entity Framework Core and Entity Framework 6
Stars: ✭ 888 (+3452%)
Mutual labels:  entity-framework-core
Asp.net Core Inventory Order Management System
Project example Asp.Net Core Mvc implementation of inventory order management system. warehouse, product, vendor, customer, purchase order, sales order, shipment, goods receive and more.
Stars: ✭ 301 (+1104%)
Mutual labels:  entity-framework-core
Entityframework.lazyloading
LazyLoading for EF Core
Stars: ✭ 23 (-8%)
Mutual labels:  entity-framework-core
Efcore.pg
Entity Framework Core provider for PostgreSQL
Stars: ✭ 838 (+3252%)
Mutual labels:  entity-framework-core
Starwars
GraphQL 'Star Wars' example using GraphQL for .NET, ASP.NET Core, Entity Framework Core
Stars: ✭ 559 (+2136%)
Mutual labels:  entity-framework-core
Identityserver4.templates
dotnet new templates for IdentityServer4
Stars: ✭ 559 (+2136%)
Mutual labels:  identityserver4

Abp.ZeroCore.IdentityServer4.Configuration

Build status NuGet version

    [DependsOn(typeof(AbpZeroCoreIdentityServer4ConfigurationModule))]
    public class OpenIdCoreModule : AbpModule {
        
    }
    [DependsOn(
        typeof(OpenIdCoreModule),
        typeof(AbpZeroCoreEntityFrameworkCoreModule),
        typeof(AbpZeroCoreIdentityServer4ConfigurationModule))]
    public class OpenIdEntityFrameworkModule : AbpModule {
    }
using Abp.IdentityServer4;
using Abp.IdentityServer4.Entities;
using Abp.IdentityServer4.Extensions;

public class OpenIdDbContext : AbpZeroDbContext<Tenant, Role, User, OpenIdDbContext>, IAbpConfigurationDbContext {
        public DbSet<Client> Clients { get; set; }

        public DbSet<IdentityResource> IdentityResources { get; set; }

        public DbSet<ApiResource> ApiResources { get; set; }
        
        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            modelBuilder.ConfigureConfigurationContext();

            base.OnModelCreating(modelBuilder);
        }
}

InitialHostDbBuilder.cs

new DefaultIdentityServerConfigCreator(_context).Create();

Startup.cs

        public IServiceProvider ConfigureServices(IServiceCollection services)
        {
            IdentityRegistrar.Register(services);
            AuthConfigurer.Configure(services, _appConfiguration);
            services.AddIdentityServer()
                .AddSigningCredential(new X509Certificate2(_appConfiguration["Authentication:IdentityServer:File"],
                    _appConfiguration["Authentication:IdentityServer:Password"]))
                .AddAbpPersistedGrants<IAbpPersistedGrantDbContext>()
                .AddConfigurationStore<IAbpConfigurationDbContext>()
                .AddAbpIdentityServer<User>();
        }
        public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
        {
            app.UseAuthentication();

            app.UseJwtTokenMiddleware();

            app.UseIdentityServer();
        }
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].