11 references to RegisterTokenProvider
Microsoft.AspNetCore.Identity.Specification.Tests (8)
UserManagerSpecificationTests.cs (8)
500
manager.
RegisterTokenProvider
("Static", new StaticTokenProvider());
990
manager.
RegisterTokenProvider
("Static", new StaticTokenProvider());
1015
manager.
RegisterTokenProvider
("Static", new StaticTokenProvider());
1041
manager.
RegisterTokenProvider
("Static", new StaticTokenProvider());
1063
manager.
RegisterTokenProvider
("Static", new StaticTokenProvider());
1091
manager.
RegisterTokenProvider
("Static", new StaticTokenProvider());
1113
manager.
RegisterTokenProvider
("Static", new StaticTokenProvider());
1433
manager.
RegisterTokenProvider
("Yes", new YesPhoneNumberProvider());
Microsoft.AspNetCore.Identity.Test (2)
UserManagerTest.cs (2)
1040
Assert.Throws<ArgumentNullException>("provider", () => manager.
RegisterTokenProvider
("whatever", null));
1049
manager.
RegisterTokenProvider
("whatever", new NoOpTokenProvider());
Microsoft.Extensions.Identity.Core (1)
UserManager.cs (1)
117
RegisterTokenProvider
(providerName, provider);