ITicketStore.RenewAsync 方法

定义

重载

RenewAsync(String, AuthenticationTicket)

告知存储应更新给定标识。

RenewAsync(String, AuthenticationTicket, CancellationToken)

告知存储应更新给定标识。

RenewAsync(String, AuthenticationTicket, HttpContext, CancellationToken)

告知存储应更新给定标识。

RenewAsync(String, AuthenticationTicket)

Source:
ITicketStore.cs

告知存储应更新给定标识。

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

参数

key
String

返回

适用于

RenewAsync(String, AuthenticationTicket, CancellationToken)

Source:
ITicketStore.cs

告知存储应更新给定标识。

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

参数

key
String
cancellationToken
CancellationToken

CancellationToken,用于传播应取消操作的通知。

返回

适用于

RenewAsync(String, AuthenticationTicket, HttpContext, CancellationToken)

Source:
ITicketStore.cs

告知存储应更新给定标识。

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

参数

key
String
httpContext
HttpContext
cancellationToken
CancellationToken

CancellationToken,用于传播应取消操作的通知。

返回

适用于