Ejemplo n.º 1
0
 public UserController(IUserRepository userRepo, IAuthtenticationCurrentContext currentAuthContext, IMapper autoMapper,
                       IEncryptionKeyGeneratorProvider encryptionP, IDecryptProvider decryptProvider, IAmazonS3ImageProvider amazons3imageprovider)
 {
     userRepository = userRepo;
     authenticationCurrentContext = currentAuthContext;
     mapper                = autoMapper;
     encryptionProvider    = encryptionP;
     decryptionProvider    = decryptProvider;
     amazonS3ImageProvider = amazons3imageprovider;
 }
 public MilestoneController(IMilestoneRepository milestoneRepo, IAuthtenticationCurrentContext currentAuthContext,
                            ICacheProvider cacheP, IMapper automapper, IUserRepository userrepo, ILikeRepository likeRepo, IUserCache usrCache,
                            IAmazonS3ImageProvider amazons3imageprovider
                            )
 {
     milestoneRepository          = milestoneRepo;
     currentAuthenticationContext = currentAuthContext;
     cacheProvider         = cacheP;
     mapper                = automapper;
     userRepository        = userrepo;
     likeRepository        = likeRepo;
     userCache             = usrCache;
     amazonS3ImageProvider = amazons3imageprovider;
 }
Ejemplo n.º 3
0
 public AdminRoleAuthorization(IJwtSecurityProvider tokenp, IAuthtenticationCurrentContext currentAuthContext)
 {
     tokenProvider = tokenp;
     currentAuthenticationContext = currentAuthContext;
 }
Ejemplo n.º 4
0
 public LikeController(ILikeRepository likeRepo, IAuthtenticationCurrentContext authContext, IUserCache ucache)
 {
     likeRepository        = likeRepo;
     authenticationContext = authContext;
     userCache             = ucache;
 }