用户空闲时身份服务器自动注销 - 不工作

问题描述 投票:0回答:0

我正在使用身份服务器 3。目前,超时是根据设置工作的,但我需要用户空闲超时何时发生的解决方案。

 AuthenticationOptions = new AuthenticationOptions
                {
                    EnableLocalLogin = config.EnableLocalLogin,
                    EnableSignOutPrompt = false,
                    EnablePostSignOutAutoRedirect = true,
                    PostSignOutAutoRedirectDelay = 0,
                    RememberLastUsername = false,
                    IdentityProviders = (x, signInAs) => ConfigureIdentityProviders(x, signInAs, config, awsConfig),
                    CookieOptions = new CookieOptions
                    {
                        AllowRememberMe = false,
                        //ExpireTimeSpan = TimeSpan.FromMinutes(2),
                        //SlidingExpiration = false,
                        //IsPersistent=false
                    }
                },

我需要用户空闲超时何时发生的解决方案。

model-view-controller identityserver4 identityserver3
© www.soinside.com 2019 - 2024. All rights reserved.