예제 #1
0
        public AuthController(IControllerAPI controllerAPI, CryptingRSA cryptingRSA, LoginSystemAPI loginSystemAPI, SignUpSystemAPI signUpSystemAPI)
        {
            _loginSystemAPI  = loginSystemAPI;
            _signUpSystemAPI = signUpSystemAPI;

            _controllerAPI = controllerAPI;
            _cryptingRSA   = cryptingRSA;
        }
예제 #2
0
        public MyProfilController(IControllerAPI controllerAPI, CryptingRSA cryptingRSA, ISessionManager sessionManager, EditUserSystemAPI editUserSystemAPI)
        {
            _controllerAPI     = controllerAPI;
            _editUserSystemAPI = editUserSystemAPI;
            _cryptingRSA       = cryptingRSA;
            _sessionManager    = sessionManager;

            _userGlobal = new ModelsView_Globals.UserGlobal();

            /* méthode */
        }
예제 #3
0
 public SessionManager(IHttpContextAccessor httpContextAccessor, IControllerAPI controllerAPI)
 {
     Session        = httpContextAccessor.HttpContext.Session;
     _controllerAPI = controllerAPI;
 }