CookieSlidingExpirationContext Construtor
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cria uma nova instância do objeto de contexto.
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)
Parâmetros
- context
- HttpContext
- scheme
- AuthenticationScheme
- options
- CookieAuthenticationOptions
- ticket
- AuthenticationTicket
Contém os valores iniciais para identidade e dados extras
- elapsedTime
- TimeSpan
- remainingTime
- TimeSpan