Beispiel #1
0
 public AuthLocalValidationProvider(
     IAuthTokenToUserService _IAuthTokenToUserService,
     IValidationDataProvider _dataProvider)
 {
     this._IAuthTokenToUserService = _IAuthTokenToUserService;
     this._dataProvider            = _dataProvider;
 }
Beispiel #2
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;
        }