CookieAuthenticationEvents.OnCheckSlidingExpiration 属性

定义

调用 检查是否应续订 Cookie。

public Func<Microsoft.AspNetCore.Authentication.Cookies.CookieSlidingExpirationContext,System.Threading.Tasks.Task> OnCheckSlidingExpiration { get; set; }
member this.OnCheckSlidingExpiration : Func<Microsoft.AspNetCore.Authentication.Cookies.CookieSlidingExpirationContext, System.Threading.Tasks.Task> with get, set
Public Property OnCheckSlidingExpiration As Func(Of CookieSlidingExpirationContext, Task)

属性值

适用于