Dela via


ITicketStore.RenewAsync Method

Definition

Overloads

RenewAsync(String, AuthenticationTicket)

Tells the store that the given identity should be updated.

RenewAsync(String, AuthenticationTicket, CancellationToken)

Tells the store that the given identity should be updated.

RenewAsync(String, AuthenticationTicket, HttpContext, CancellationToken)

Tells the store that the given identity should be updated.

RenewAsync(String, AuthenticationTicket)

Source:
ITicketStore.cs

Tells the store that the given identity should be updated.

public:
 System::Threading::Tasks::Task ^ RenewAsync(System::String ^ key, Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket);
public System.Threading.Tasks.Task RenewAsync (string key, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket);
abstract member RenewAsync : string * Microsoft.AspNetCore.Authentication.AuthenticationTicket -> System.Threading.Tasks.Task
Public Function RenewAsync (key As String, ticket As AuthenticationTicket) As Task

Parameters

key
String

Returns

Applies to

RenewAsync(String, AuthenticationTicket, CancellationToken)

Source:
ITicketStore.cs

Tells the store that the given identity should be updated.

public virtual System.Threading.Tasks.Task RenewAsync (string key, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, System.Threading.CancellationToken cancellationToken);
abstract member RenewAsync : string * Microsoft.AspNetCore.Authentication.AuthenticationTicket * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RenewAsync : string * Microsoft.AspNetCore.Authentication.AuthenticationTicket * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RenewAsync (key As String, ticket As AuthenticationTicket, cancellationToken As CancellationToken) As Task

Parameters

key
String
cancellationToken
CancellationToken

The CancellationToken used to propagate notifications that the operation should be canceled.

Returns

Applies to

RenewAsync(String, AuthenticationTicket, HttpContext, CancellationToken)

Source:
ITicketStore.cs

Tells the store that the given identity should be updated.

public virtual System.Threading.Tasks.Task RenewAsync (string key, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, Microsoft.AspNetCore.Http.HttpContext httpContext, System.Threading.CancellationToken cancellationToken);
abstract member RenewAsync : string * Microsoft.AspNetCore.Authentication.AuthenticationTicket * Microsoft.AspNetCore.Http.HttpContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RenewAsync : string * Microsoft.AspNetCore.Authentication.AuthenticationTicket * Microsoft.AspNetCore.Http.HttpContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RenewAsync (key As String, ticket As AuthenticationTicket, httpContext As HttpContext, cancellationToken As CancellationToken) As Task

Parameters

key
String
httpContext
HttpContext
cancellationToken
CancellationToken

The CancellationToken used to propagate notifications that the operation should be canceled.

Returns

Applies to