Remove vestiges of NotifyAsync
This commit is contained in:
parent
53b7fbb0ae
commit
fdedf2b46a
|
|
@ -161,18 +161,6 @@ namespace Microsoft.AspNetCore.Identity
|
||||||
{
|
{
|
||||||
return Task.FromResult(false);
|
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>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -1146,11 +1146,6 @@ namespace Microsoft.AspNetCore.Identity.Test
|
||||||
return Task.FromResult(true);
|
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)
|
public Task<bool> CanGenerateTwoFactorTokenAsync(UserManager<TestUser> manager, TestUser user)
|
||||||
{
|
{
|
||||||
return Task.FromResult(true);
|
return Task.FromResult(true);
|
||||||
|
|
|
||||||
|
|
@ -826,11 +826,6 @@ namespace Microsoft.AspNetCore.Identity.Test
|
||||||
return token == MakeToken(purpose, await manager.GetUserIdAsync(user));
|
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)
|
public Task<bool> CanGenerateTwoFactorTokenAsync(UserManager<TUser> manager, TUser user)
|
||||||
{
|
{
|
||||||
return Task.FromResult(true);
|
return Task.FromResult(true);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue