ITicketStore.RenewAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- ticket
- AuthenticationTicket
返回
适用于
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
- ticket
- AuthenticationTicket
- 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
- ticket
- AuthenticationTicket
- httpContext
- HttpContext
- cancellationToken
- CancellationToken
CancellationToken,用于传播应取消操作的通知。