Remove cancellation token overload

This commit is contained in:
Hao Kung 2017-01-13 12:44:37 -08:00
parent b64a32f089
commit 7fbc36c566
3 changed files with 15 additions and 3 deletions

View File

@ -753,13 +753,11 @@ namespace Microsoft.AspNetCore.Identity
/// Removes a user's password.
/// </summary>
/// <param name="user">The user whose password should be removed.</param>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> used to propagate notifications that the operation should be canceled.</param>
/// <returns>
/// The <see cref="Task"/> that represents the asynchronous operation, containing the <see cref="IdentityResult"/>
/// of the operation.
/// </returns>
public virtual async Task<IdentityResult> RemovePasswordAsync(TUser user,
CancellationToken cancellationToken = default(CancellationToken))
public virtual async Task<IdentityResult> RemovePasswordAsync(TUser user)
{
ThrowIfDisposed();
var passwordStore = GetPasswordStore();

View File

@ -0,0 +1,7 @@
[
{
"OldTypeId": "public class Microsoft.AspNetCore.Identity.UserManager<T0> : System.IDisposable where T0 : class",
"OldMemberId": "public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> RemovePasswordAsync(T0 user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))",
"Kind": "Removal"
}
]

View File

@ -0,0 +1,7 @@
[
{
"OldTypeId": "public class Microsoft.AspNetCore.Identity.UserManager<T0> : System.IDisposable where T0 : class",
"OldMemberId": "public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> RemovePasswordAsync(T0 user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))",
"Kind": "Removal"
}
]