这是基于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.
 
 
 
 
 
 

1.1 KiB

LINGYUN.Abp.Identity.Domain.Shared

Identity authentication domain shared module, providing basic definitions for identity authentication.

Features

  • Provides localization resources for identity authentication
  • Provides virtual file system configuration for identity authentication
  • Extends Volo.Abp.Identity.AbpIdentityDomainSharedModule module

Module Dependencies

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

Configuration

No additional configuration required.

Basic Usage

  1. Reference the module
[DependsOn(typeof(AbpIdentityDomainSharedModule))]
public class YouProjectModule : AbpModule
{
}
  1. Use localization resources
public class YourClass
{
    private readonly IStringLocalizer<IdentityResource> _localizer;

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

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

More Information