UserManager<TUser>.UpdateSecurityStampAsync(TUser) メソッド

定義

指定した userのセキュリティ スタンプを再生成します。

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::IdentityResult ^> ^ UpdateSecurityStampAsync(TUser user);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> UpdateSecurityStampAsync (TUser user);
abstract member UpdateSecurityStampAsync : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
override this.UpdateSecurityStampAsync : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Public Overridable Function UpdateSecurityStampAsync (user As TUser) As Task(Of IdentityResult)

パラメーター

user
TUser

セキュリティ スタンプを再生成する必要があるユーザー。

戻り値

Task操作の を含む非同期操作をIdentityResult表す 。

注釈

セキュリティ スタンプを再生成すると、ユーザーの保存されたログインがサインアウトされます。

適用対象