这是基于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.
 
 
 
 
 
 
colin 3936107340 upgrade: upgrade abp to 10.0.2 2 months ago
..
LINGYUN/Abp/Identity/Session feat(identity): Add anonymous sessions 9 months ago
Microsoft/Extensions/DependencyInjection feat(identity): Add anonymous sessions 9 months ago
System/Security/Principal fix(session): fix session cache expiration time 1 year ago
FodyWeavers.xml upgrade abp framework to 8.2.0 2 years ago
FodyWeavers.xsd upgrade abp framework to 8.2.0 2 years ago
LINGYUN.Abp.Identity.Session.csproj upgrade: upgrade abp to 10.0.2 2 months ago
README.EN.md feat(docs): 添加identity模块文档 1 year ago
README.md feat(docs): 添加identity模块文档 1 year ago

README.md

LINGYUN.Abp.Identity.Session

用户会话基础模块,提供相关的通用接口

功能特性

  • 提供用户会话管理的基础接口
  • 提供会话缓存与持久化同步机制
  • 支持会话访问时间追踪
  • 依赖AbpCachingModule模块

配置使用

[DependsOn(typeof(AbpIdentitySessionModule))]
public class YouProjectModule : AbpModule
{
	public override void ConfigureServices(ServiceConfigurationContext context)
    {
        Configure<IdentitySessionCheckOptions>(options =>
        {
            // 设置会话缓存与持久化设施刷新间隔为10分钟
            options.KeepAccessTimeSpan = TimeSpan.FromMinutes(10);
        });
    }
}

配置项

IdentitySessionCheckOptions

{
  "Identity": {
    "Session": {
      "Check": {
        "KeepAccessTimeSpan": "00:01:00",    // 保持访问时长(刷新缓存会话间隔),默认:1分钟
        "SessionSyncTimeSpan": "00:10:00"    // 会话同步间隔(从缓存同步到持久化),默认:10分钟
      }
    }
  }
}

更多信息