UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.RemoveClaimAsync Method (TUser, Claim)
Asynchronously removes a claim from a user.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Syntax
public virtual Task RemoveClaimAsync(
TUser user,
Claim claim
)
public:
virtual Task^ RemoveClaimAsync(
TUser user,
Claim^ claim
)
abstract RemoveClaimAsync :
user:'TUser *
claim:Claim -> Task
override RemoveClaimAsync :
user:'TUser *
claim:Claim -> Task
Public Overridable Function RemoveClaimAsync (
user As TUser,
claim As Claim
) As Task
Parameters
user
Type: TUserThe user.
claim
Type: System.Security.Claims.ClaimThe claim.
Return Value
Type: System.Threading.Tasks.Task
The task representing the asynchronous operation.
Implements
IUserClaimStore<TUser, TKey>.RemoveClaimAsync(TUser, Claim)
See Also
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top