public JWTAuthAttribute(EUserRole[] roles)
 {
     _roles         = roles;
     _authModel     = StaticJWTContainer.GetAuthModel();
     _jwtService    = new JWTService();
     _isCanAccess   = false;
     _objectService = new ObjectService <UserModel>();
     _jwtService.SetVariable(_authModel.SecretKey);
     _db = new DBCovalmor();
 }
 public CreditApprovalRepository(IDBCovalmor db)
 {
     _db = db;
 }
 public TrCaProductRepository(IDBCovalmor db)
 {
     _db = db;
 }
 public CaCustomerDetailRepository(IDBCovalmor db)
 {
     _db = db;
 }
Example #5
0
 public CustomerRepository(IDBCovalmor db)
 {
     _db = db;
 }
 public UserRepository(IDBCovalmor db, IJWTService jwtService)
 {
     _db         = db;
     _jwtService = jwtService;
 }
 public TrCaActionNoteRepository(IDBCovalmor db)
 {
     _db = db;
 }
 public CreditScoringRepository(IDBCovalmor db)
 {
     _db = db;
 }
 public QuantitativeAspectRepository(IDBCovalmor db)
 {
     _db = db;
 }
 public StaticValueRepository(IDBCovalmor db)
 {
     _db = db;
 }
Example #11
0
 public SignatureRepository(IDBCovalmor db)
 {
     _db = db;
 }