Dela via


CookieAuthenticationEvents.CheckSlidingExpiration Method

Definition

Invoked to check if the cookie should be renewed.

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

Parameters

Returns

Applies to