4 references to TokenProviderDescriptor
Microsoft.AspNetCore.Identity.Specification.Tests (1)
UserManagerSpecificationTests.cs (1)
1545
o => o.Tokens.ProviderMap["NewProvider2"] = new
TokenProviderDescriptor
(typeof(EmailTokenProvider<TUser>))));
Microsoft.AspNetCore.Identity.Test (2)
UserManagerTest.cs (2)
796
services.AddIdentity<PocoUser, PocoRole>(o => o.Tokens.ProviderMap.Add("A", new
TokenProviderDescriptor
(typeof(ATokenProvider))
893
services.AddIdentity<PocoUser, PocoRole>(o => o.Tokens.ProviderMap.Add(TokenOptions.DefaultProvider, new
TokenProviderDescriptor
(typeof(ATokenProvider))
Microsoft.Extensions.Identity.Core (1)
IdentityBuilder.cs (1)
161
options.Tokens.ProviderMap[providerName] = new
TokenProviderDescriptor
(provider);