Bagikan melalui


CookieSlidingExpirationContext Konstruktor

Definisi

Membuat instans baru objek konteks.

public CookieSlidingExpirationContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, TimeSpan elapsedTime, TimeSpan remainingTime);
new Microsoft.AspNetCore.Authentication.Cookies.CookieSlidingExpirationContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions * Microsoft.AspNetCore.Authentication.AuthenticationTicket * TimeSpan * TimeSpan -> Microsoft.AspNetCore.Authentication.Cookies.CookieSlidingExpirationContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As CookieAuthenticationOptions, ticket As AuthenticationTicket, elapsedTime As TimeSpan, remainingTime As TimeSpan)

Parameter

context
HttpContext
ticket
AuthenticationTicket

Berisi nilai awal untuk identitas dan data tambahan

elapsedTime
TimeSpan
remainingTime
TimeSpan

Berlaku untuk