6 references to DefaultProvider
Microsoft.AspNetCore.Identity (1)
IdentityBuilderExtensions.cs (1)
34
return builder.AddTokenProvider(TokenOptions.
DefaultProvider
, dataProtectionProviderType)
Microsoft.AspNetCore.Identity.Test (2)
UserManagerTest.cs (2)
893
services.AddIdentity<PocoUser, PocoRole>(o => o.Tokens.ProviderMap.Add(TokenOptions.
DefaultProvider
, new TokenProviderDescriptor(typeof(ATokenProvider))
898
await Assert.ThrowsAsync<NotImplementedException>(() => manager.GenerateUserTokenAsync(new PocoUser(), TokenOptions.
DefaultProvider
, "purpose"));
Microsoft.Extensions.Identity.Core (3)
TokenOptions.cs (3)
44
public string EmailConfirmationTokenProvider { get; set; } =
DefaultProvider
;
52
public string PasswordResetTokenProvider { get; set; } =
DefaultProvider
;
60
public string ChangeEmailTokenProvider { get; set; } =
DefaultProvider
;