예제 #1
0
 public CommentService(IPostRepository postRepository, IAuthKeyRepository authKeyRepository,
                       ICommentRepository commentRepository, IUserRepository userRepository)
 {
     _userRepository    = userRepository;
     _postRepository    = postRepository;
     _authKeyRepository = authKeyRepository;
     _commentRepository = commentRepository;
 }
예제 #2
0
 public PostService(IPostRepository postRepository, IAuthKeyRepository authKeyRepository,
                    ITagRepository tagRepository, IUserRepository userRepository, ICategoryRepository categoryRepository)
 {
     _postRepository     = postRepository;
     _authKeyRepository  = authKeyRepository;
     _tagRepository      = tagRepository;
     _userRepository     = userRepository;
     _categoryRepository = categoryRepository;
 }
예제 #3
0
 public ApiOwinAuthConfig(
     ILoginSessionRepository loginSessionRepository,
     IAuthKeyRepository authKeyRepository,
     IUserRepository userRepository,
     IHashingService hashingService)
 {
     _loginSessionRepository = loginSessionRepository;
     _authKeyRepository      = authKeyRepository;
     _userRepository         = userRepository;
     _hashingService         = hashingService;
 }
 public ApiOwinAuthConfig(
     ILoginSessionRepository loginSessionRepository,
     IAuthKeyRepository authKeyRepository,
     IUserRepository userRepository,
     IHashingService hashingService)
 {
     _loginSessionRepository = loginSessionRepository;
     _authKeyRepository = authKeyRepository;
     _userRepository = userRepository;
     _hashingService = hashingService;
 }
        public ApiAuthorizationProvider(
            ILoginSessionRepository loginSessionRepository,
            IAuthKeyRepository authKeyRepository,
            IUserRepository userRepository,
            IHashingService hashingService,
            string publicClientId)
        {
            if (publicClientId == null)
                throw new ArgumentNullException("publicClientId");

            _loginSessionRepository = loginSessionRepository;
            _authKeyRepository = authKeyRepository;
            _userRepository = userRepository;
            _hashingService = hashingService;

            _publicClientId = publicClientId;
        }
예제 #6
0
        public ApiAuthorizationProvider(
            ILoginSessionRepository loginSessionRepository,
            IAuthKeyRepository authKeyRepository,
            IUserRepository userRepository,
            IHashingService hashingService,
            string publicClientId)
        {
            if (publicClientId == null)
            {
                throw new ArgumentNullException("publicClientId");
            }

            _loginSessionRepository = loginSessionRepository;
            _authKeyRepository      = authKeyRepository;
            _userRepository         = userRepository;
            _hashingService         = hashingService;

            _publicClientId = publicClientId;
        }
 public ApiAuthenticationProvider(IAuthKeyRepository authKeyRepository)
 {
     _authKeyRepository = authKeyRepository;
 }
 public ApiAuthenticationProvider(IAuthKeyRepository authKeyRepository)
 {
     _authKeyRepository = authKeyRepository;
 }
예제 #9
0
 public ContactLinkageService(IContactLinkageRepository contactLinkageRepository, IAccountRepository accountRepository, IAuthKeyRepository authKeyRepository)
 {
     _contactLinkageRepository = contactLinkageRepository;
     _accountRepository        = accountRepository;
     _authKeyRepository        = authKeyRepository;
 }
예제 #10
0
 public AuthService(IAccountRepository accountRepository, IAuthKeyRepository authKeyRepository)
 {
     _accountRepository = accountRepository;
     _authKeyRepository = authKeyRepository;
 }
예제 #11
0
 public AuthService(IUserRepository userRepository, IAuthKeyRepository authKeyRepository)
 {
     _userRepository    = userRepository;
     _authKeyRepository = authKeyRepository;
 }