共用方式為


UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.RemoveTokenAsync 方法

定義

刪除使用者的權杖。

public:
 virtual System::Threading::Tasks::Task ^ RemoveTokenAsync(TUser user, System::String ^ loginProvider, System::String ^ name, System::Threading::CancellationToken cancellationToken);
public virtual System.Threading.Tasks.Task RemoveTokenAsync (TUser user, string loginProvider, string name, System.Threading.CancellationToken cancellationToken);
abstract member RemoveTokenAsync : 'User * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveTokenAsync : 'User * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RemoveTokenAsync (user As TUser, loginProvider As String, name As String, cancellationToken As CancellationToken) As Task

參數

user
TUser

使用者。

loginProvider
String

權杖的驗證提供者。

name
String

權杖的名稱。

cancellationToken
CancellationToken

用於散佈應取消作業通知的 CancellationToken

傳回

表示非同步作業的 Task

實作

適用於