ITicketStore.RenewAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RenewAsync(String, AuthenticationTicket) |
告知存放區應該更新指定的身分識別。 |
RenewAsync(String, AuthenticationTicket, CancellationToken) |
告知存放區應該更新指定的身分識別。 |
RenewAsync(String, AuthenticationTicket, HttpContext, CancellationToken) |
告知存放區應該更新指定的身分識別。 |
RenewAsync(String, AuthenticationTicket)
告知存放區應該更新指定的身分識別。
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
- ticket
- AuthenticationTicket
傳回
適用於
RenewAsync(String, AuthenticationTicket, CancellationToken)
告知存放區應該更新指定的身分識別。
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
- ticket
- AuthenticationTicket
- cancellationToken
- CancellationToken
用於散佈應取消作業通知的 CancellationToken。
傳回
適用於
RenewAsync(String, AuthenticationTicket, HttpContext, CancellationToken)
告知存放區應該更新指定的身分識別。
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
- ticket
- AuthenticationTicket
- httpContext
- HttpContext
- cancellationToken
- CancellationToken
用於散佈應取消作業通知的 CancellationToken。