2022-09-27 20:12:13 +03:00
|
|
|
|
2022-11-18 03:15:53 +03:00
|
|
|
using CodeLiturgy.Data.Application.Users;
|
2022-09-26 04:40:18 +03:00
|
|
|
using Microsoft.AspNetCore.Authentication;
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
using Microsoft.AspNetCore.Identity;
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
using Microsoft.Extensions.Options;
|
|
|
|
|
2022-11-18 03:15:53 +03:00
|
|
|
namespace CodeLiturgy.Data.Auth.Context.Users;
|
2022-09-26 04:40:18 +03:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// SignInManager
|
|
|
|
/// </summary>
|
|
|
|
internal class SignInManager : SignInManager<ApplicationUser>
|
|
|
|
{
|
|
|
|
public SignInManager(
|
|
|
|
UserManager<ApplicationUser> userManager,
|
|
|
|
IHttpContextAccessor contextAccessor,
|
|
|
|
IUserClaimsPrincipalFactory<ApplicationUser> claimsFactory,
|
|
|
|
IOptions<IdentityOptions> optionsAccessor,
|
|
|
|
ILogger<SignInManager<ApplicationUser>> logger,
|
|
|
|
IAuthenticationSchemeProvider schemes,
|
|
|
|
IUserConfirmation<ApplicationUser> confirmation) :
|
|
|
|
base(userManager, contextAccessor, claimsFactory, optionsAccessor, logger, schemes, confirmation)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|