예제 #1
0
 public UsersModel(
     UserManager <UserDAO> userManager,
     RoleManager <IdentityRole> roleManager,
     ICurrentRequestContext requestContext,
     IIdentityLogic identityLogic)
 {
     _userManager    = userManager;
     _roleManager    = roleManager;
     _requestContext = requestContext;
     _identityLogic  = identityLogic;
 }
예제 #2
0
 public DeleteUserModel(
     UserManager <UserDAO> userManager,
     ILogger <DeleteUserModel> logger,
     IIdentityLogic identityLogic,
     ICurrentRequestContext requestContext)
 {
     _userManager    = userManager;
     _logger         = logger;
     _identityLogic  = identityLogic;
     _requestContext = requestContext;
 }
예제 #3
0
 public IdentityController()
 {
     // TODO: DI
     identityLogic = new IdentityLogic();
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="identityLogic"></param>
 /// <param name="sessionUtility"></param>
 /// <param name="simpleAuthorizeInfo"></param>
 public UserRoleActionFilter(IIdentityLogic identityLogic, ISessionUtility sessionUtility, ISimpleAuthorizeInfo simpleAuthorizeInfo)
 {
     _identityLogic       = identityLogic;
     _sessionUtility      = sessionUtility;
     _simpleAuthorizeInfo = simpleAuthorizeInfo;
 }
 public AuthorizeActionFilter(IIdentityLogic identityLogic, IHostingEnvironment hostingEnvironment)
 {
     _identityLogic      = identityLogic;
     _hostingEnvironment = hostingEnvironment;
 }
예제 #6
0
 public AccountingLogic(IIdentityLogic identityLogic, IAccountingRepo accountingRepo, IUserRepo userRepo)
 {
     _identityLogic  = identityLogic;
     _accountingRepo = accountingRepo;
     _userRepo       = userRepo;
 }
 public ScoreController(IIdentityLogic identityLogic, IScoreLogic scoreLogic)
 {
     _identityLogic = identityLogic;
     _scoreLogic    = scoreLogic;
 }
 public IdentityController(IIdentityLogic identityLogic, IUserLogic userLogic)
 {
     _identityLogic = identityLogic;
     _userLogic     = userLogic;
 }
예제 #9
0
 public AccountLogic(IBaseLogic baseLogic, IIdentityLogic identityLogic)
 {
     _baseLogic     = baseLogic;
     _identityLogic = identityLogic;
 }