public AuthController(IUserService userService, IConfiguration configuration, IAuthLoginService authLoginService, IMenuPermissionService menuPermissionService)
 {
     this.userService           = userService;
     this.Configuration         = configuration;
     this.authLoginService      = authLoginService;
     this.menuPermissionService = menuPermissionService;
 }
Exemplo n.º 2
0
 public AuthTokenToUserService(
     IAuthLoginService _IAuthLoginService,
     IAuthTokenService _IAuthTokenService,
     ICacheProvider _cache)
 {
     this._IAuthLoginService = _IAuthLoginService;
     this._IAuthTokenService = _IAuthTokenService;
     this._cache             = _cache;
 }
Exemplo n.º 3
0
 public AuthController(IAuthLoginService authLoginService, IConfiguration configuration, IRoleUserService roleUserService, IRoleService roleService, IUserService userService, IAppSettingService appSettingService, IGeneralSettingService generalSettingService)
 {
     this._authLoginService      = authLoginService;
     this._configuration         = configuration;
     this._roleUserService       = roleUserService;
     this._roleService           = roleService;
     this._userService           = userService;
     this._appSettingService     = appSettingService;
     this._generalSettingService = generalSettingService;
 }
Exemplo n.º 4
0
 public AuthApiServiceFromDB(
     IAuthLoginService _IAuthLoginService,
     IAuthTokenService _IAuthTokenService,
     IRepository <AuthScope> _AuthScopeRepository,
     ICacheProvider _cache)
 {
     this._IAuthLoginService   = _IAuthLoginService;
     this._IAuthTokenService   = _IAuthTokenService;
     this._AuthScopeRepository = _AuthScopeRepository;
     this._cache = _cache;
 }
Exemplo n.º 5
0
 public AuthApiServiceFromDbBase(
     IAuthLoginService _loginService,
     ICacheProvider _cache,
     IEFRepository <ClientBase> _clientRepo,
     IEFRepository <ScopeBase> _scopeRepo,
     IEFRepository <TokenBase> _tokenRepo,
     IEFRepository <CodeBase> _codeRepo,
     IEFRepository <TokenScopeBase> _tokenScopeRepo) :
     base(_cache, _clientRepo, _scopeRepo, _tokenRepo, _codeRepo, _tokenScopeRepo)
 {
     this._loginService = _loginService;
 }
Exemplo n.º 6
0
 public AuthApiServiceFromDB_(
     IAuthLoginService _loginService,
     ICacheProvider _cache,
     IEFRepository <AuthClient> _clientRepo,
     IEFRepository <AuthScope> _scopeRepo,
     IEFRepository <AuthToken> _tokenRepo,
     IEFRepository <AuthCode> _codeRepo,
     IEFRepository <AuthTokenScope> _tokenScopeRepo) :
     base(_loginService, _cache, _clientRepo, _scopeRepo, _tokenRepo, _codeRepo, _tokenScopeRepo)
 {
     this.LogActor = new Lazy <IActorRef>(() => ActorsManager <CacheHitLogActor> .Instance.DefaultClient);
 }
Exemplo n.º 7
0
 public AccountController(
     IAuthLoginService _IAuthLoginService,
     IUserService user,
     ILoginLogService loginlog,
     LoginStatus logincontext,
     IRepository <AuthScope> _AuthScopeRepository,
     IAuthTokenService _IAuthTokenService,
     IValidationDataProvider _IValidationDataProvider)
 {
     this._IAuthLoginService       = _IAuthLoginService;
     this._IUserService            = user;
     this._LoginErrorLogBll        = loginlog;
     this._LoginStatus             = logincontext;
     this._AuthScopeRepository     = _AuthScopeRepository;
     this._IAuthTokenService       = _IAuthTokenService;
     this._IValidationDataProvider = _IValidationDataProvider;
 }
Exemplo n.º 8
0
 public AccountController(
     IAuthLoginService _IAuthLoginService,
     IAuthTokenService _IAuthTokenService,
     LoginStatus logincontext,
     IEFRepository <AuthScope> _AuthScopeRepo,
     IEFRepository <LoginErrorLogEntity> _LogErrorRepo,
     IAuthDataProvider _IValidationDataProvider,
     ICacheProvider _cache)
 {
     this._IAuthLoginService       = _IAuthLoginService;
     this._IAuthTokenService       = _IAuthTokenService;
     this._LoginStatus             = logincontext;
     this._AuthScopeRepo           = _AuthScopeRepo;
     this._LogErrorRepo            = _LogErrorRepo;
     this._IValidationDataProvider = _IValidationDataProvider;
     this._cache = _cache;
 }
Exemplo n.º 9
0
        public ConnectController(
            IAuthDataProvider _IValidationDataProvider,
            IAuthLoginService _IAuthLoginService,
            IAuthTokenService _IAuthTokenService,
            IAuthScopeService _IAuthScopeService,
            IAuthClientService _IAuthClientService,
            IRepository <AuthScope> _AuthScopeRepository,
            IRepository <AuthClient> _AuthClientRepository)
        {
            this._IValidationDataProvider = _IValidationDataProvider;
            this._IAuthLoginService       = _IAuthLoginService;

            this._IAuthTokenService  = _IAuthTokenService;
            this._IAuthScopeService  = _IAuthScopeService;
            this._IAuthClientService = _IAuthClientService;

            this._AuthScopeRepository  = _AuthScopeRepository;
            this._AuthClientRepository = _AuthClientRepository;
        }
Exemplo n.º 10
0
        public AuthController(
            IAuthLoginService _IAuthLoginService,
            ICacheProvider _cache,
            IAuthTokenService _IAuthTokenService,
            IAuthScopeService _IAuthScopeService,
            IRepository <AuthScope> _AuthScopeRepository,
            IRepository <AuthClient> _AuthClientRepository,
            IAuthTokenToUserService _IAuthTokenToUserService)
        {
            this._IAuthLoginService = _IAuthLoginService;
            this._cache             = _cache;

            this._IAuthTokenService = _IAuthTokenService;
            this._IAuthScopeService = _IAuthScopeService;

            this._AuthScopeRepository     = _AuthScopeRepository;
            this._AuthClientRepository    = _AuthClientRepository;
            this._IAuthTokenToUserService = _IAuthTokenToUserService;
        }
Exemplo n.º 11
0
 public AuthManageController(
     IAuthDataProvider _IValidationDataProvider,
     IAuthLoginService _IAuthLoginService,
     IAuthTokenService _IAuthTokenService,
     IAuthScopeService _IAuthScopeService,
     IAuthClientService _IAuthClientService,
     IEFRepository <AuthScope> _AuthScopeRepository,
     IEFRepository <AuthClient> _AuthClientRepository,
     IEFRepository <ReqLogEntity> _ReqLogModelRepository,
     IEFRepository <CacheHitLogEntity> _CacheHitLogRepository,
     ICacheProvider _cache)
 {
     this._IValidationDataProvider = _IValidationDataProvider;
     this._IAuthLoginService       = _IAuthLoginService;
     this._IAuthTokenService       = _IAuthTokenService;
     this._IAuthScopeService       = _IAuthScopeService;
     this._IAuthClientService      = _IAuthClientService;
     this._AuthScopeRepository     = _AuthScopeRepository;
     this._AuthClientRepository    = _AuthClientRepository;
     this._ReqLogModelRepository   = _ReqLogModelRepository;
     this._CacheHitLogRepository   = _CacheHitLogRepository;
     this._cache = _cache;
 }