6 references to AddTokenProvider
Microsoft.AspNetCore.Identity (4)
IdentityBuilderExtensions.cs (4)
34
return builder.
AddTokenProvider
(TokenOptions.DefaultProvider, dataProtectionProviderType)
35
.
AddTokenProvider
(TokenOptions.DefaultEmailProvider, emailTokenProviderType)
36
.
AddTokenProvider
(TokenOptions.DefaultPhoneProvider, phoneNumberProviderType)
37
.
AddTokenProvider
(TokenOptions.DefaultAuthenticatorProvider, authenticatorProviderType);
Microsoft.AspNetCore.Identity.Test (1)
IdentityBuilderTest.cs (1)
268
Assert.Throws<InvalidOperationException>(() => builder.
AddTokenProvider
("whatevs", typeof(object)));
Microsoft.Extensions.Identity.Core (1)
IdentityBuilder.cs (1)
135
=>
AddTokenProvider
(providerName, typeof(TProvider));