diff --git a/src/Microsoft.AspNetCore.Identity/DataProtectionTokenProvider.cs b/src/Microsoft.AspNetCore.Identity/DataProtectionTokenProvider.cs index 09f74095a7..9e285f5e61 100644 --- a/src/Microsoft.AspNetCore.Identity/DataProtectionTokenProvider.cs +++ b/src/Microsoft.AspNetCore.Identity/DataProtectionTokenProvider.cs @@ -161,18 +161,6 @@ namespace Microsoft.AspNetCore.Identity { return Task.FromResult(false); } - - /// - /// Creates a notification for the specified based on the supplied as an asynchronous operation. - /// - /// The token to generate notifications for. - /// The to retrieve user properties from. - /// The the token was generated for. - /// A that represents the asynchronous notification. - public virtual Task NotifyAsync(string token, UserManager manager, TUser user) - { - return Task.FromResult(0); - } } /// diff --git a/test/Microsoft.AspNetCore.Identity.Test/UserManagerTest.cs b/test/Microsoft.AspNetCore.Identity.Test/UserManagerTest.cs index 28975a3c26..0c52e3a26c 100644 --- a/test/Microsoft.AspNetCore.Identity.Test/UserManagerTest.cs +++ b/test/Microsoft.AspNetCore.Identity.Test/UserManagerTest.cs @@ -1146,11 +1146,6 @@ namespace Microsoft.AspNetCore.Identity.Test return Task.FromResult(true); } - public Task NotifyAsync(string token, UserManager manager, TestUser user) - { - return Task.FromResult(0); - } - public Task CanGenerateTwoFactorTokenAsync(UserManager manager, TestUser user) { return Task.FromResult(true); diff --git a/test/Shared/UserManagerTestBase.cs b/test/Shared/UserManagerTestBase.cs index a45e966b14..e46115648d 100644 --- a/test/Shared/UserManagerTestBase.cs +++ b/test/Shared/UserManagerTestBase.cs @@ -826,11 +826,6 @@ namespace Microsoft.AspNetCore.Identity.Test return token == MakeToken(purpose, await manager.GetUserIdAsync(user)); } - public Task NotifyAsync(string token, UserManager manager, TUser user) - { - return Task.FromResult(0); - } - public Task CanGenerateTwoFactorTokenAsync(UserManager manager, TUser user) { return Task.FromResult(true);