Dela via


CookieAuthenticationEvents.OnCheckSlidingExpiration Property

Definition

Invoked to check if the cookie should be renewed.

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)

Property Value

Applies to