Skip to content

Commit

Permalink
Merge pull request #16349 from abpframework/auto-merge/rel-7-1/1887
Browse files Browse the repository at this point in the history
  • Loading branch information
maliming authored Apr 24, 2023
2 parents 5e6c483 + 8f18e0e commit 27780bf
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,13 @@ private void ChangeThemeToBasicForBlazorProjects(ProjectBuildContext context, st
$"Blazor{defaultThemeName}ThemeBundles.Scripts.Global",
"BlazorBasicThemeBundles.Scripts.Global"
);

ChangeNamespace(
context,
$"/MyCompanyName.MyProjectName.{project.Key}/Pages/_Host.cshtml",
$"Volo.Abp.AspNetCore.Components.Web.{defaultThemeName}Theme.Themes.{defaultThemeName}",
"Volo.Abp.AspNetCore.Components.Web.BasicTheme.Themes.Basic"
);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,23 +93,47 @@ public override void PostConfigureServices(ServiceConfigurationContext context)
typeof(OpenIddictApplication)
);

ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
OpenIddictModuleExtensionConsts.ModuleName,
OpenIddictModuleExtensionConsts.EntityNames.Application,
typeof(OpenIddictApplicationModel)
);

ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
OpenIddictModuleExtensionConsts.ModuleName,
OpenIddictModuleExtensionConsts.EntityNames.Authorization,
typeof(OpenIddictAuthorization)
);

ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
OpenIddictModuleExtensionConsts.ModuleName,
OpenIddictModuleExtensionConsts.EntityNames.Authorization,
typeof(OpenIddictAuthorizationModel)
);

ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
OpenIddictModuleExtensionConsts.ModuleName,
OpenIddictModuleExtensionConsts.EntityNames.Scope,
typeof(OpenIddictScope)
);

ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
OpenIddictModuleExtensionConsts.ModuleName,
OpenIddictModuleExtensionConsts.EntityNames.Scope,
typeof(OpenIddictScopeModel)
);

ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
OpenIddictModuleExtensionConsts.ModuleName,
OpenIddictModuleExtensionConsts.EntityNames.Token,
typeof(OpenIddictToken)
);

ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
OpenIddictModuleExtensionConsts.ModuleName,
OpenIddictModuleExtensionConsts.EntityNames.Token,
typeof(OpenIddictTokenModel)
);
});
}
}

0 comments on commit 27780bf

Please sign in to comment.