2022-09-10 00:33:17 +03:00
|
|
|
using System;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Security.Claims;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using Microsoft.AspNetCore.Authentication;
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
using Microsoft.AspNetCore.Identity;
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
using Microsoft.Extensions.Options;
|
|
|
|
|
|
|
|
namespace BlueWest.WebApi.Context.Users;
|
|
|
|
|
|
|
|
/// <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)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2022-09-11 01:22:04 +03:00
|
|
|
|
2022-09-10 00:33:17 +03:00
|
|
|
|
|
|
|
|
|
|
|
}
|