示例#1
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;
        }