Remove vestiges of NotifyAsync

This commit is contained in:
Hao Kung 2016-05-31 15:24:12 -07:00
parent 53b7fbb0ae
commit fdedf2b46a
3 changed files with 0 additions and 22 deletions

View File

@ -161,18 +161,6 @@ namespace Microsoft.AspNetCore.Identity
{
return Task.FromResult(false);
}
/// <summary>
/// Creates a notification for the specified <paramref name="user"/> based on the supplied <paramref name="token"/> as an asynchronous operation.
/// </summary>
/// <param name="token">The token to generate notifications for.</param>
/// <param name="manager">The <see cref="UserManager{TUser}"/> to retrieve user properties from.</param>
/// <param name="user">The <typeparamref name="TUser"/> the token was generated for.</param>
/// <returns>A <see cref="Task{TResult}"/> that represents the asynchronous notification.</returns>
public virtual Task NotifyAsync(string token, UserManager<TUser> manager, TUser user)
{
return Task.FromResult(0);
}
}
/// <summary>

View File

@ -1146,11 +1146,6 @@ namespace Microsoft.AspNetCore.Identity.Test
return Task.FromResult(true);
}
public Task NotifyAsync(string token, UserManager<TestUser> manager, TestUser user)
{
return Task.FromResult(0);
}
public Task<bool> CanGenerateTwoFactorTokenAsync(UserManager<TestUser> manager, TestUser user)
{
return Task.FromResult(true);

View File

@ -826,11 +826,6 @@ namespace Microsoft.AspNetCore.Identity.Test
return token == MakeToken(purpose, await manager.GetUserIdAsync(user));
}
public Task NotifyAsync(string token, UserManager<TUser> manager, TUser user)
{
return Task.FromResult(0);
}
public Task<bool> CanGenerateTwoFactorTokenAsync(UserManager<TUser> manager, TUser user)
{
return Task.FromResult(true);