Introduced interface on BackOfficeUserManager (#8913)

* Introduced IBackOfficeUserManager

* Fixed test

* Moved class into own file

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
This commit is contained in:
Bjarke Berg
2020-09-22 14:44:41 +02:00
committed by GitHub
parent e6fba11279
commit 0c908a7bbb
15 changed files with 316 additions and 25 deletions

View File

@@ -41,7 +41,7 @@ namespace Umbraco.Web.BackOffice.Controllers
public class AuthenticationController : UmbracoApiControllerBase
{
private readonly IBackofficeSecurityAccessor _backofficeSecurityAccessor;
private readonly BackOfficeUserManager _userManager;
private readonly IBackOfficeUserManager _userManager;
private readonly BackOfficeSignInManager _signInManager;
private readonly IUserService _userService;
private readonly ILocalizedTextService _textService;
@@ -60,7 +60,7 @@ namespace Umbraco.Web.BackOffice.Controllers
public AuthenticationController(
IBackofficeSecurityAccessor backofficeSecurityAccessor,
BackOfficeUserManager backOfficeUserManager,
IBackOfficeUserManager backOfficeUserManager,
BackOfficeSignInManager signInManager,
IUserService userService,
ILocalizedTextService textService,