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
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
- Reference the module
[DependsOn(typeof(AbpIdentityDomainSharedModule))]
public class YouProjectModule : AbpModule
{
}
- 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];
}
}