1 implementation of IUserConfirmation
Microsoft.Extensions.Identity.Core (1)
DefaultUserConfirmation.cs (1)
12
public class DefaultUserConfirmation<TUser> :
IUserConfirmation
<TUser> where TUser : class
10 references to IUserConfirmation
Microsoft.AspNetCore.Identity (4)
IdentityServiceCollectionExtensions.cs (1)
104
services.TryAddScoped<
IUserConfirmation
<TUser>, DefaultUserConfirmation<TUser>>();
SignInManager.cs (3)
30
private readonly
IUserConfirmation
<TUser> _confirmation;
46
/// <param name="confirmation">The <see cref="
IUserConfirmation
{TUser}"/> used check whether a user account is confirmed.</param>
53
IUserConfirmation
<TUser> confirmation)
Microsoft.AspNetCore.Identity.Test (1)
IdentityBuilderTest.cs (1)
100
var thingy = services.BuildServiceProvider().GetRequiredService<
IUserConfirmation
<PocoUser>>() as MyUserConfirmation;
Microsoft.Extensions.Identity.Core (5)
DefaultUserConfirmation.cs (1)
9
/// Default implementation of <see cref="
IUserConfirmation
{TUser}"/>.
IdentityBuilder.cs (2)
276
/// Adds a <see cref="
IUserConfirmation
{TUser}"/> for the <seealso cref="UserType"/>.
282
=> AddScoped(typeof(
IUserConfirmation
<>).MakeGenericType(UserType), typeof(TUserConfirmation));
IdentityServiceCollectionExtensions.cs (1)
44
services.TryAddScoped<
IUserConfirmation
<TUser>, DefaultUserConfirmation<TUser>>();
SignInOptions.cs (1)
24
/// Gets or sets a flag indicating whether a confirmed <see cref="
IUserConfirmation
{TUser}"/> account is required to sign in. Defaults to false.