Example #1
0
 public AuthService(ITokenRepository tokenRepository, IMemberRepository memberRepository, ISecurityTokenHandler tokenHandler, IPasswordHasher passwordHasher)
 {
     this.tokenRepository  = tokenRepository;
     this.memberRepository = memberRepository;
     this.tokenHandler     = tokenHandler;
     this.passwordHasher   = passwordHasher;
 }
Example #2
0
 public ShortlyController(HttpClient httpClient, ISecurityTokenHandler securityTokenHandler,
                          IConfiguration configuration)
 {
     _httpClient           = httpClient;
     _apiUrl               = configuration["ApiUrl"];
     _securityTokenHandler = securityTokenHandler;
 }
 public ShortlyUrlViewComponent(HttpClient httpClient, ISecurityTokenHandler securityTokenHandler,
                                IConfiguration configuration)
 {
     _httpClient           = httpClient;
     _apiUrl               = configuration["ApiUrl"];
     _securityTokenHandler = securityTokenHandler;
 }
Example #4
0
 public HomeController(ILogger <HomeController> logger, HttpClient httpClient,
                       ISecurityTokenHandler securityTokenHandler, IConfiguration configuration)
 {
     _logger               = logger;
     _httpClient           = httpClient;
     _apiUrl               = configuration["ApiUrl"];
     _securityTokenHandler = securityTokenHandler;
 }
 public RecoverEmailCommandHandler(IAccountRepository accountRepository,
                                   ISnsClient snsClient,
                                   IConfiguration configuration,
                                   ISecurityTokenHandler securityTokenHandler,
                                   IAwsSecretManagerService awsSecretManagerService,
                                   ILogger logger)
 {
     _accountRepository       = accountRepository;
     _snsClient               = snsClient;
     _configuration           = configuration;
     _securityTokenHandler    = securityTokenHandler;
     _awsSecretManagerService = awsSecretManagerService;
     _logger = logger;
 }
 public AuthenticateUserCommandHandler(IConfiguration configuration,
                                       ISecurityTokenHandler securityTokenHandler,
                                       IPasswordHasher passwordHasher,
                                       IAccountRepository accountRepository,
                                       IAwsSecretManagerService awsSecretManagerService,
                                       ILogger logger,
                                       IMapper mapper,
                                       IHttpClientFactory clientFactory)
 {
     _configuration           = configuration;
     _securityTokenHandler    = securityTokenHandler;
     _passwordHasher          = passwordHasher;
     _accountRepository       = accountRepository;
     _awsSecretManagerService = awsSecretManagerService;
     _logger        = logger;
     _mapper        = mapper;
     _clientFactory = clientFactory;
 }
Example #7
0
 public CreateAccountsCommandHandler(IRoleClaimAggregationRepository roleClaimAggregationRepository,
                                     IRoleRepository roleRepository,
                                     IAccountRepository accountRepository,
                                     IPasswordHasher passwordHasher,
                                     ISnsClient snsClient,
                                     IConfiguration configuration,
                                     ISecurityTokenHandler securityTokenHandler,
                                     IAwsSecretManagerService awsSecretManagerService)
 {
     _roleClaimAggregationRepository = roleClaimAggregationRepository;
     _roleRepository          = roleRepository;
     _accountRepository       = accountRepository;
     _passwordHasher          = passwordHasher;
     _snsClient               = snsClient;
     _configuration           = configuration;
     _securityTokenHandler    = securityTokenHandler;
     _awsSecretManagerService = awsSecretManagerService;
 }
Example #8
0
 public TokenManager(ISecurityKey securityKey, ISecurityTokenHandler tokenHandler, ITokenParameters tokenParameters)
 {
     _handler         = tokenHandler;
     _tokenParameters = tokenParameters;
     _securityKey     = securityKey;
 }
Example #9
0
 public NavbarViewComponent(ISecurityTokenHandler securityTokenHandler)
 {
     _securityTokenHandler = securityTokenHandler;
 }
Example #10
0
 public MemberController(ISecurityTokenHandler tokenHandler, MemberService memberService) : base(tokenHandler)
 {
     this.memberService = memberService;
 }
Example #11
0
 public ApiHelper(HttpClient httpClient, ISecurityTokenHandler securityTokenHandler)
 {
     _httpClient           = httpClient;
     _securityTokenHandler = securityTokenHandler;
 }
Example #12
0
 public AuthController(ISecurityTokenHandler tokenHandler, AuthService authService) : base(tokenHandler)
 {
     this.authService = authService;
 }
Example #13
0
 public ApiControllerBase(ISecurityTokenHandler tokenHandler)
 {
     this.tokenHandler = tokenHandler;
 }