8 references to ProviderMap
Microsoft.AspNetCore.Identity.Specification.Tests (1)
UserManagerSpecificationTests.cs (1)
1545
o => o.Tokens.
ProviderMap
["NewProvider2"] = new TokenProviderDescriptor(typeof(EmailTokenProvider<TUser>))));
Microsoft.AspNetCore.Identity.Test (3)
IdentityBuilderTest.cs (1)
246
var tokenProviders = provider.GetRequiredService<IOptions<IdentityOptions>>().Value.Tokens.
ProviderMap
.Values;
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 (4)
IdentityBuilder.cs (2)
154
if (options.Tokens.
ProviderMap
.TryGetValue(providerName, out var descriptor))
161
options.Tokens.
ProviderMap
[providerName] = new TokenProviderDescriptor(provider);
UserManager.cs (2)
105
foreach (var providerName in Options.Tokens.
ProviderMap
.Keys)
107
var description = Options.Tokens.
ProviderMap
[providerName];