示例#1
0
 public AuthLocalValidationProvider(
     IAuthTokenToUserService _IAuthTokenToUserService,
     IValidationDataProvider _dataProvider)
 {
     this._IAuthTokenToUserService = _IAuthTokenToUserService;
     this._dataProvider            = _dataProvider;
 }
示例#2
0
 public AuthBasicValidationProvider(
     IValidationDataProvider _dataProvider,
     IAuthApi api)
 {
     this._dataProvider = _dataProvider;
     this.api           = api;
 }
示例#3
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;
 }
示例#4
0
        public ConnectController(
            IValidationDataProvider _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;
        }
示例#5
0
 public AuthManageController(
     IValidationDataProvider _IValidationDataProvider,
     IAuthLoginService _IAuthLoginService,
     IAuthTokenService _IAuthTokenService,
     IAuthScopeService _IAuthScopeService,
     IAuthClientService _IAuthClientService,
     IRepository <AuthScope> _AuthScopeRepository,
     IRepository <AuthClient> _AuthClientRepository,
     IRepository <ReqLogModel> _ReqLogModelRepository,
     IRepository <CacheHitLog> _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;
 }
 public AuthServerValidationProvider(AuthServerConfig server, IValidationDataProvider _dataProvider)
 {
     this._server       = server;
     this._dataProvider = _dataProvider;
 }