我用这段代码存储redis db
redisClientsManagerX = new PooledRedisClientManager("127.0.0.1:6379");
container.Register<IRedisClientsManager>(c => redisClientsManagerX);
container.Register<ICacheClient>(c => c.Resolve<IRedisClientsManager>().GetCacheClient()).ReusedWithin(Funq.ReuseScope.None);
Plugins.Add(new AuthFeature(() => new AuthUserSession(), new IAuthProvider[] { new BasicAuthProvider() }
));
// Use a RedisAuthRepository
var userRepo = new RedisAuthRepository(redisClientsManagerX);
container.Register<IUserAuthRepository>(userRepo);
// Enable the RegistrationFeature
Plugins.Add(new RegistrationFeature());
但是,当我检查 redis db 时;
有没有办法禁用这个自动 iauthsessionstore 禁用?