ITicketStore.RetrieveAsync メソッド

定義

オーバーロード

RetrieveAsync(String)

指定されたキーの ID をストアから取得します。

RetrieveAsync(String, CancellationToken)

指定されたキーの ID をストアから取得します。

RetrieveAsync(String, HttpContext, CancellationToken)

指定されたキーの ID をストアから取得します。

RetrieveAsync(String)

指定されたキーの ID をストアから取得します。

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticationTicket ^> ^ RetrieveAsync(System::String ^ key);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket> RetrieveAsync (string key);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket?> RetrieveAsync (string key);
abstract member RetrieveAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationTicket>
Public Function RetrieveAsync (key As String) As Task(Of AuthenticationTicket)

パラメーター

key
String

ID に関連付けられているキー。

戻り値

指定されたキーに関連付けられている ID。見 null つからない場合は 。

適用対象

RetrieveAsync(String, CancellationToken)

指定されたキーの ID をストアから取得します。

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

パラメーター

key
String

ID に関連付けられているキー。

cancellationToken
CancellationToken

この操作を取り消す必要があることを示す通知を伝達するために使用する CancellationToken

戻り値

指定されたキーに関連付けられている ID。見 null つからない場合は 。

適用対象

RetrieveAsync(String, HttpContext, CancellationToken)

指定されたキーの ID をストアから取得します。

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

パラメーター

key
String

ID に関連付けられているキー。

httpContext
HttpContext

現在の HttpContext 要求に関連付けられている 。

cancellationToken
CancellationToken

この操作を取り消す必要があることを示す通知を伝達するために使用する CancellationToken

戻り値

指定されたキーに関連付けられている ID。見 null つからない場合は 。

適用対象