mirror of https://github.com/abpframework/abp.git
28 changed files with 413 additions and 0 deletions
@ -0,0 +1,71 @@ |
|||||
|
{ |
||||
|
"folders": { |
||||
|
"items": { |
||||
|
"src": {}, |
||||
|
"test": {}, |
||||
|
"app": {} |
||||
|
} |
||||
|
}, |
||||
|
"packages": { |
||||
|
"Volo.Abp.OpenIddict.Domain.Shared": { |
||||
|
"path": "src/Volo.Abp.OpenIddict.Domain.Shared/Volo.Abp.OpenIddict.Domain.Shared.abppkg.json", |
||||
|
"folder": "src" |
||||
|
}, |
||||
|
"Volo.Abp.OpenIddict.Domain": { |
||||
|
"path": "src/Volo.Abp.OpenIddict.Domain/Volo.Abp.OpenIddict.Domain.abppkg.json", |
||||
|
"folder": "src" |
||||
|
}, |
||||
|
"Volo.Abp.OpenIddict.EntityFrameworkCore": { |
||||
|
"path": "src/Volo.Abp.OpenIddict.EntityFrameworkCore/Volo.Abp.OpenIddict.EntityFrameworkCore.abppkg.json", |
||||
|
"folder": "src" |
||||
|
}, |
||||
|
"Volo.Abp.OpenIddict.MongoDB": { |
||||
|
"path": "src/Volo.Abp.OpenIddict.MongoDB/Volo.Abp.OpenIddict.MongoDB.abppkg.json", |
||||
|
"folder": "src" |
||||
|
}, |
||||
|
"Volo.Abp.OpenIddict.TestBase": { |
||||
|
"path": "test/Volo.Abp.OpenIddict.TestBase/Volo.Abp.OpenIddict.TestBase.abppkg.json", |
||||
|
"folder": "test" |
||||
|
}, |
||||
|
"Volo.Abp.OpenIddict.EntityFrameworkCore.Tests": { |
||||
|
"path": "test/Volo.Abp.OpenIddict.EntityFrameworkCore.Tests/Volo.Abp.OpenIddict.EntityFrameworkCore.Tests.abppkg.json", |
||||
|
"folder": "test" |
||||
|
}, |
||||
|
"Volo.Abp.OpenIddict.MongoDB.Tests": { |
||||
|
"path": "test/Volo.Abp.OpenIddict.MongoDB.Tests/Volo.Abp.OpenIddict.MongoDB.Tests.abppkg.json", |
||||
|
"folder": "test" |
||||
|
}, |
||||
|
"Volo.Abp.OpenIddict.Domain.Tests": { |
||||
|
"path": "test/Volo.Abp.OpenIddict.Domain.Tests/Volo.Abp.OpenIddict.Domain.Tests.abppkg.json", |
||||
|
"folder": "test" |
||||
|
}, |
||||
|
"OpenIddict.Demo.Server": { |
||||
|
"path": "app/OpenIddict.Demo.Server/OpenIddict.Demo.Server.abppkg.json", |
||||
|
"folder": "app" |
||||
|
}, |
||||
|
"OpenIddict.Demo.Client.Mvc": { |
||||
|
"path": "app/OpenIddict.Demo.Client.Mvc/OpenIddict.Demo.Client.Mvc.abppkg.json", |
||||
|
"folder": "app" |
||||
|
}, |
||||
|
"Volo.Abp.OpenIddict.AspNetCore": { |
||||
|
"path": "src/Volo.Abp.OpenIddict.AspNetCore/Volo.Abp.OpenIddict.AspNetCore.abppkg.json", |
||||
|
"folder": "src" |
||||
|
}, |
||||
|
"OpenIddict.Demo.Client.Console": { |
||||
|
"path": "app/OpenIddict.Demo.Client.Console/OpenIddict.Demo.Client.Console.abppkg.json", |
||||
|
"folder": "app" |
||||
|
}, |
||||
|
"OpenIddict.Demo.API": { |
||||
|
"path": "app/OpenIddict.Demo.API/OpenIddict.Demo.API.abppkg.json", |
||||
|
"folder": "app" |
||||
|
}, |
||||
|
"OpenIddict.Demo.Client.BlazorWASM": { |
||||
|
"path": "app/OpenIddict.Demo.Client.BlazorWASM/OpenIddict.Demo.Client.BlazorWASM.abppkg.json", |
||||
|
"folder": "app" |
||||
|
}, |
||||
|
"Volo.Abp.PermissionManagement.Domain.OpenIddict": { |
||||
|
"path": "src/Volo.Abp.PermissionManagement.Domain.OpenIddict/Volo.Abp.PermissionManagement.Domain.OpenIddict.abppkg.json", |
||||
|
"folder": "src" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,8 @@ |
|||||
|
{ |
||||
|
"template": "empty", |
||||
|
"modules": { |
||||
|
"Volo.Abp.OpenIddict": { |
||||
|
"path": "Volo.Abp.OpenIddict.abpmdl.json" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1 @@ |
|||||
|
{} |
||||
@ -0,0 +1 @@ |
|||||
|
{} |
||||
@ -0,0 +1 @@ |
|||||
|
{} |
||||
@ -0,0 +1,5 @@ |
|||||
|
{ |
||||
|
"name": "OpenIddict.Demo.Client.Mvc", |
||||
|
"hash": "2132c41341e3f1486a7036fbdd82d4f9", |
||||
|
"contents": [] |
||||
|
} |
||||
@ -0,0 +1,3 @@ |
|||||
|
{ |
||||
|
"role": "host.mvc" |
||||
|
} |
||||
@ -0,0 +1 @@ |
|||||
|
{} |
||||
@ -0,0 +1 @@ |
|||||
|
{} |
||||
@ -0,0 +1,11 @@ |
|||||
|
{ |
||||
|
"name": "Volo.Abp.OpenIddict.Domain.Shared", |
||||
|
"hash": "bc60e65998f3b40d6651cf0a0a08a84c", |
||||
|
"contents": [ |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict", |
||||
|
"contentType": "abpModule", |
||||
|
"name": "AbpOpenIddictDomainSharedModule" |
||||
|
} |
||||
|
] |
||||
|
} |
||||
@ -0,0 +1,3 @@ |
|||||
|
{ |
||||
|
"role": "lib.domain-shared" |
||||
|
} |
||||
@ -0,0 +1,107 @@ |
|||||
|
{ |
||||
|
"name": "Volo.Abp.OpenIddict.Domain", |
||||
|
"hash": "8822f98b8a1deca68b33f69126bbc669", |
||||
|
"contents": [ |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict", |
||||
|
"contentType": "abpModule", |
||||
|
"name": "AbpOpenIddictDomainModule" |
||||
|
}, |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict.Tokens", |
||||
|
"primaryKeyType": "Guid", |
||||
|
"summary": null, |
||||
|
"collectionProperties": [], |
||||
|
"navigationProperties": [], |
||||
|
"contentType": "aggregateRoot", |
||||
|
"name": "OpenIddictToken" |
||||
|
}, |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict.Scopes", |
||||
|
"primaryKeyType": "Guid", |
||||
|
"summary": null, |
||||
|
"collectionProperties": [], |
||||
|
"navigationProperties": [], |
||||
|
"contentType": "aggregateRoot", |
||||
|
"name": "OpenIddictScope" |
||||
|
}, |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict.Authorizations", |
||||
|
"primaryKeyType": "Guid", |
||||
|
"summary": null, |
||||
|
"collectionProperties": [], |
||||
|
"navigationProperties": [], |
||||
|
"contentType": "aggregateRoot", |
||||
|
"name": "OpenIddictAuthorization" |
||||
|
}, |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict.Applications", |
||||
|
"primaryKeyType": "Guid", |
||||
|
"summary": null, |
||||
|
"collectionProperties": [], |
||||
|
"navigationProperties": [], |
||||
|
"contentType": "aggregateRoot", |
||||
|
"name": "OpenIddictApplication" |
||||
|
}, |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict.Tokens", |
||||
|
"summary": null, |
||||
|
"entityAnalyzeModel": { |
||||
|
"namespace": "Volo.Abp.OpenIddict.Tokens", |
||||
|
"primaryKeyType": "Guid", |
||||
|
"summary": null, |
||||
|
"collectionProperties": [], |
||||
|
"navigationProperties": [], |
||||
|
"contentType": "entity", |
||||
|
"name": "OpenIddictToken" |
||||
|
}, |
||||
|
"contentType": "repositoryInterface", |
||||
|
"name": "IOpenIddictTokenRepository" |
||||
|
}, |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict.Scopes", |
||||
|
"summary": null, |
||||
|
"entityAnalyzeModel": { |
||||
|
"namespace": "Volo.Abp.OpenIddict.Scopes", |
||||
|
"primaryKeyType": "Guid", |
||||
|
"summary": null, |
||||
|
"collectionProperties": [], |
||||
|
"navigationProperties": [], |
||||
|
"contentType": "entity", |
||||
|
"name": "OpenIddictScope" |
||||
|
}, |
||||
|
"contentType": "repositoryInterface", |
||||
|
"name": "IOpenIddictScopeRepository" |
||||
|
}, |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict.Authorizations", |
||||
|
"summary": null, |
||||
|
"entityAnalyzeModel": { |
||||
|
"namespace": "Volo.Abp.OpenIddict.Authorizations", |
||||
|
"primaryKeyType": "Guid", |
||||
|
"summary": null, |
||||
|
"collectionProperties": [], |
||||
|
"navigationProperties": [], |
||||
|
"contentType": "entity", |
||||
|
"name": "OpenIddictAuthorization" |
||||
|
}, |
||||
|
"contentType": "repositoryInterface", |
||||
|
"name": "IOpenIddictAuthorizationRepository" |
||||
|
}, |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict.Applications", |
||||
|
"summary": null, |
||||
|
"entityAnalyzeModel": { |
||||
|
"namespace": "Volo.Abp.OpenIddict.Applications", |
||||
|
"primaryKeyType": "Guid", |
||||
|
"summary": null, |
||||
|
"collectionProperties": [], |
||||
|
"navigationProperties": [], |
||||
|
"contentType": "entity", |
||||
|
"name": "OpenIddictApplication" |
||||
|
}, |
||||
|
"contentType": "repositoryInterface", |
||||
|
"name": "IOpenIddictApplicationRepository" |
||||
|
} |
||||
|
] |
||||
|
} |
||||
@ -0,0 +1,3 @@ |
|||||
|
{ |
||||
|
"role": "lib.domain" |
||||
|
} |
||||
@ -0,0 +1,39 @@ |
|||||
|
{ |
||||
|
"name": "Volo.Abp.OpenIddict.EntityFrameworkCore", |
||||
|
"hash": "437e716bcba4d2364e711dac86cda9f6", |
||||
|
"contents": [ |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict.EntityFrameworkCore", |
||||
|
"contentType": "abpModule", |
||||
|
"name": "AbpOpenIddictEntityFrameworkCoreModule" |
||||
|
}, |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict.EntityFrameworkCore", |
||||
|
"connectionStringName": "AbpOpenIddict", |
||||
|
"databaseTables": [ |
||||
|
{ |
||||
|
"entityFullName": "Volo.Abp.OpenIddict.Applications.OpenIddictApplication", |
||||
|
"contentType": "databaseTable", |
||||
|
"name": "OpenIddictApplications" |
||||
|
}, |
||||
|
{ |
||||
|
"entityFullName": "Volo.Abp.OpenIddict.Authorizations.OpenIddictAuthorization", |
||||
|
"contentType": "databaseTable", |
||||
|
"name": "OpenIddictAuthorizations" |
||||
|
}, |
||||
|
{ |
||||
|
"entityFullName": "Volo.Abp.OpenIddict.Scopes.OpenIddictScope", |
||||
|
"contentType": "databaseTable", |
||||
|
"name": "OpenIddictScopes" |
||||
|
}, |
||||
|
{ |
||||
|
"entityFullName": "Volo.Abp.OpenIddict.Tokens.OpenIddictToken", |
||||
|
"contentType": "databaseTable", |
||||
|
"name": "OpenIddictTokens" |
||||
|
} |
||||
|
], |
||||
|
"contentType": "efCoreDbContext", |
||||
|
"name": "OpenIddictDbContext" |
||||
|
} |
||||
|
] |
||||
|
} |
||||
@ -0,0 +1,3 @@ |
|||||
|
{ |
||||
|
"role": "lib.ef" |
||||
|
} |
||||
@ -0,0 +1,3 @@ |
|||||
|
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd"> |
||||
|
<ConfigureAwait /> |
||||
|
</Weavers> |
||||
@ -0,0 +1,30 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
||||
|
<!-- This file was generated by Fody. Manual changes to this file will be lost when your project is rebuilt. --> |
||||
|
<xs:element name="Weavers"> |
||||
|
<xs:complexType> |
||||
|
<xs:all> |
||||
|
<xs:element name="ConfigureAwait" minOccurs="0" maxOccurs="1"> |
||||
|
<xs:complexType> |
||||
|
<xs:attribute name="ContinueOnCapturedContext" type="xs:boolean" /> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
</xs:all> |
||||
|
<xs:attribute name="VerifyAssembly" type="xs:boolean"> |
||||
|
<xs:annotation> |
||||
|
<xs:documentation>'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.</xs:documentation> |
||||
|
</xs:annotation> |
||||
|
</xs:attribute> |
||||
|
<xs:attribute name="VerifyIgnoreCodes" type="xs:string"> |
||||
|
<xs:annotation> |
||||
|
<xs:documentation>A comma-separated list of error codes that can be safely ignored in assembly verification.</xs:documentation> |
||||
|
</xs:annotation> |
||||
|
</xs:attribute> |
||||
|
<xs:attribute name="GenerateXsd" type="xs:boolean"> |
||||
|
<xs:annotation> |
||||
|
<xs:documentation>'false' to turn off automatic generation of the XML Schema file.</xs:documentation> |
||||
|
</xs:annotation> |
||||
|
</xs:attribute> |
||||
|
</xs:complexType> |
||||
|
</xs:element> |
||||
|
</xs:schema> |
||||
@ -0,0 +1,24 @@ |
|||||
|
<Project Sdk="Microsoft.NET.Sdk"> |
||||
|
|
||||
|
<Import Project="..\..\..\..\configureawait.props" /> |
||||
|
<Import Project="..\..\..\..\common.props" /> |
||||
|
|
||||
|
<PropertyGroup> |
||||
|
<TargetFramework>net6.0</TargetFramework> |
||||
|
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest> |
||||
|
<RootNamespace /> |
||||
|
</PropertyGroup> |
||||
|
|
||||
|
<ItemGroup> |
||||
|
<ProjectReference Include="..\..\..\..\..\abp-studio\src\Volo.Abp.Studio.ModuleInstaller\Volo.Abp.Studio.ModuleInstaller.csproj" /> |
||||
|
<ProjectReference Include="..\..\..\..\abp\framework\src\Volo.Abp.VirtualFileSystem\Volo.Abp.VirtualFileSystem.csproj" /> |
||||
|
</ItemGroup> |
||||
|
|
||||
|
<ItemGroup> |
||||
|
<None Remove="..\..\Volo.Abp.OpenIddict.abpmdl.json" /> |
||||
|
<EmbeddedResource Include="..\..\Volo.Abp.OpenIddict.abpmdl.json" /> |
||||
|
<None Remove="..\..\**\*.abppkg*.json" /> |
||||
|
<EmbeddedResource Include="..\..\**\*.abppkg*.json" /> |
||||
|
</ItemGroup> |
||||
|
|
||||
|
</Project> |
||||
@ -0,0 +1,20 @@ |
|||||
|
using Volo.Abp.Modularity; |
||||
|
using Volo.Abp.Studio; |
||||
|
using Volo.Abp.VirtualFileSystem; |
||||
|
|
||||
|
namespace Volo.Abp.OpenIddict; |
||||
|
|
||||
|
[DependsOn( |
||||
|
typeof(AbpStudioModuleInstallerModule), |
||||
|
typeof(AbpVirtualFileSystemModule) |
||||
|
)] |
||||
|
public class AbpOpenIddictInstallerModule : AbpModule |
||||
|
{ |
||||
|
public override void ConfigureServices(ServiceConfigurationContext context) |
||||
|
{ |
||||
|
Configure<AbpVirtualFileSystemOptions>(options => |
||||
|
{ |
||||
|
options.FileSets.AddEmbedded<AbpOpenIddictInstallerModule>(); |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,16 @@ |
|||||
|
using System.Threading.Tasks; |
||||
|
using Microsoft.Extensions.DependencyInjection; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Studio.ModuleInstalling; |
||||
|
|
||||
|
namespace Volo.Abp.OpenIddict; |
||||
|
|
||||
|
[Dependency(ServiceLifetime.Transient, ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IModuleInstallingPipelineBuilder))] |
||||
|
public class OpenIddictInstallerPipelineBuilder : ModuleInstallingPipelineBuilderBase, IModuleInstallingPipelineBuilder, ITransientDependency |
||||
|
{ |
||||
|
public async Task<ModuleInstallingPipeline> BuildAsync(ModuleInstallingContext context) |
||||
|
{ |
||||
|
return GetBasePipeline(context); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,39 @@ |
|||||
|
{ |
||||
|
"name": "Volo.Abp.OpenIddict.MongoDB", |
||||
|
"hash": "9306b0570c535c0a4124afc3181e8313", |
||||
|
"contents": [ |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict.MongoDB", |
||||
|
"contentType": "abpModule", |
||||
|
"name": "AbpOpenIddictMongoDbModule" |
||||
|
}, |
||||
|
{ |
||||
|
"namespace": "Volo.Abp.OpenIddict.MongoDB", |
||||
|
"connectionStringName": "AbpOpenIddict", |
||||
|
"databaseCollections": [ |
||||
|
{ |
||||
|
"entityFullName": "Volo.Abp.OpenIddict.Authorizations.OpenIddictAuthorization", |
||||
|
"contentType": "databaseCollection", |
||||
|
"name": "OpenIddictAuthorizations" |
||||
|
}, |
||||
|
{ |
||||
|
"entityFullName": "Volo.Abp.OpenIddict.Applications.OpenIddictApplication", |
||||
|
"contentType": "databaseCollection", |
||||
|
"name": "OpenIddictApplications" |
||||
|
}, |
||||
|
{ |
||||
|
"entityFullName": "Volo.Abp.OpenIddict.Tokens.OpenIddictToken", |
||||
|
"contentType": "databaseCollection", |
||||
|
"name": "OpenIddictTokens" |
||||
|
}, |
||||
|
{ |
||||
|
"entityFullName": "Volo.Abp.OpenIddict.Scopes.OpenIddictScope", |
||||
|
"contentType": "databaseCollection", |
||||
|
"name": "OpenIddictScopes" |
||||
|
} |
||||
|
], |
||||
|
"contentType": "mongoDbContext", |
||||
|
"name": "OpenIddictMongoDbContext" |
||||
|
} |
||||
|
] |
||||
|
} |
||||
@ -0,0 +1,3 @@ |
|||||
|
{ |
||||
|
"role": "lib.mongodb" |
||||
|
} |
||||
@ -0,0 +1 @@ |
|||||
|
{} |
||||
@ -0,0 +1,3 @@ |
|||||
|
{ |
||||
|
"role": "lib.test" |
||||
|
} |
||||
@ -0,0 +1,3 @@ |
|||||
|
{ |
||||
|
"role": "lib.test" |
||||
|
} |
||||
@ -0,0 +1,3 @@ |
|||||
|
{ |
||||
|
"role": "lib.test" |
||||
|
} |
||||
@ -0,0 +1,3 @@ |
|||||
|
{ |
||||
|
"role": "lib.test" |
||||
|
} |
||||
Loading…
Reference in new issue