UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.SetSecurityStampAsync Method
Asynchronously sets the security stamp for the user.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Syntax
'Declaration
Public Function SetSecurityStampAsync ( _
user As TUser, _
stamp As String _
) As Task
'Usage
Dim instance As UserStore
Dim user As TUser
Dim stamp As String
Dim returnValue As Task
returnValue = instance.SetSecurityStampAsync(user, _
stamp)
public Task SetSecurityStampAsync(
TUser user,
string stamp
)
public:
virtual Task^ SetSecurityStampAsync(
TUser user,
String^ stamp
) sealed
abstract SetSecurityStampAsync :
user:'TUser *
stamp:string -> Task
override SetSecurityStampAsync :
user:'TUser *
stamp:string -> Task
public final function SetSecurityStampAsync(
user : TUser,
stamp : String
) : Task
Parameters
- user
Type: TUser
The user.
- stamp
Type: System.String
The security stamp.
Return Value
Type: System.Threading.Tasks.Task
The task representing the asynchronous operation.
Implements
IUserSecurityStampStore<TUser, TKey>.SetSecurityStampAsync(TUser, String)
See Also
Reference
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace