|
|
@ -77,6 +77,13 @@ namespace Volo.Abp.Identity |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void RemoveClaim([NotNull] Claim claim) |
|
|
|
|
|
{ |
|
|
|
|
|
Check.NotNull(claim, nameof(claim)); |
|
|
|
|
|
|
|
|
|
|
|
Claims.RemoveAll(c => c.ClaimType == claim.Type && c.ClaimValue == claim.Value); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Returns the name of the role.
|
|
|
/// Returns the name of the role.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
@ -85,12 +92,5 @@ namespace Volo.Abp.Identity |
|
|
{ |
|
|
{ |
|
|
return Name; |
|
|
return Name; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void RemoveClaim([NotNull] Claim claim) |
|
|
|
|
|
{ |
|
|
|
|
|
Check.NotNull(claim, nameof(claim)); |
|
|
|
|
|
|
|
|
|
|
|
Claims.RemoveAll(c => c.ClaimType == claim.Type && c.ClaimValue == claim.Value); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|