共用方式為


ITicketStore.RenewAsync 方法

定義

多載

RenewAsync(String, AuthenticationTicket)

告知存放區應該更新指定的身分識別。

RenewAsync(String, AuthenticationTicket, CancellationToken)

告知存放區應該更新指定的身分識別。

RenewAsync(String, AuthenticationTicket, HttpContext, CancellationToken)

告知存放區應該更新指定的身分識別。

RenewAsync(String, AuthenticationTicket)

來源:
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)

來源:
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)

來源:
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

傳回

適用於