CookieAuthenticationEvents.CheckSlidingExpiration 方法

定义

调用 检查是否应续订 Cookie。

public virtual System.Threading.Tasks.Task CheckSlidingExpiration (Microsoft.AspNetCore.Authentication.Cookies.CookieSlidingExpirationContext context);
abstract member CheckSlidingExpiration : Microsoft.AspNetCore.Authentication.Cookies.CookieSlidingExpirationContext -> System.Threading.Tasks.Task
override this.CheckSlidingExpiration : Microsoft.AspNetCore.Authentication.Cookies.CookieSlidingExpirationContext -> System.Threading.Tasks.Task
Public Overridable Function CheckSlidingExpiration (context As CookieSlidingExpirationContext) As Task

参数

返回

适用于