这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
feijie c0242dbcaa feat(docs): 添加identity模块文档 1 year ago
..
LINGYUN/Abp/Identity feat(identity): SMS templates should not be exposed to clients 2 years ago
FodyWeavers.xml chore: upgrade abp framework to 5.0.0-rc.1 4 years ago
FodyWeavers.xsd chore: upgrade abp framework to 5.0.0-rc.1 4 years ago
LINGYUN.Abp.Identity.Domain.Shared.csproj upgrade abp framework to 8.2.0 2 years ago
README.EN.md feat(docs): 添加identity模块文档 1 year ago
README.md feat(docs): 添加identity模块文档 1 year ago

README.md

LINGYUN.Abp.Identity.Domain.Shared

身份认证领域共享模块,提供身份认证相关的基础定义。

功能特性

  • 提供身份认证相关的本地化资源
  • 提供身份认证相关的虚拟文件系统配置
  • 扩展Volo.Abp.Identity.AbpIdentityDomainSharedModule模块

模块引用

[DependsOn(typeof(AbpIdentityDomainSharedModule))]
public class YouProjectModule : AbpModule
{
  // other
}

配置项

无需额外配置。

基本用法

  1. 引用模块
[DependsOn(typeof(AbpIdentityDomainSharedModule))]
public class YouProjectModule : AbpModule
{
}
  1. 使用本地化资源
public class YourClass
{
    private readonly IStringLocalizer<IdentityResource> _localizer;

    public YourClass(IStringLocalizer<IdentityResource> localizer)
    {
        _localizer = localizer;
    }

    public string GetLocalizedString(string key)
    {
        return _localizer[key];
    }
}

更多信息