public Start(IEncryptionDecryptionService service)
 {
     InitializeComponent();
     _service  = service;
     _controls = new List <Control>()
     {
         txtUserName, txtPassword, btnEncrypt, txtAES, txtRSA
     };
 }
Beispiel #2
0
        public AccountAppService(
            UserManager userManager,
            IEncryptionDecryptionService encryptionDecryptionService,
            IEmailService emailService,
            IRepository <ApplicationUser, Guid> applicationUserReposatory,
            IRepository <ApplicationUserPasswordHistory, Guid> applicationUserPasswordHistoryReposatory,
            UserRegistrationManager userRegistrationManager,
            IEntityChangeSetReasonProvider reasonProvider)
        {
            _userManager = userManager;
            _encryptionDecryptionService = encryptionDecryptionService;
            _userRegistrationManager     = userRegistrationManager;
            _emailService = emailService;

            _applicationUserReposatory = applicationUserReposatory;
            _applicationUserPasswordHistoryReposatory = applicationUserPasswordHistoryReposatory;
            _reasonProvider = reasonProvider;
        }
 public TokenAuthController(
     LogInManager logInManager,
     ITenantCache tenantCache,
     AbpLoginResultTypeHelper abpLoginResultTypeHelper,
     TokenAuthConfiguration configuration,
     IExternalAuthConfiguration externalAuthConfiguration,
     IExternalAuthManager externalAuthManager,
     IRepository <ApplicationUser, Guid> applicationUserReposatory,
     UserManager userManager,
     IEncryptionDecryptionService encryptionDecryptionService,
     UserRegistrationManager userRegistrationManager)
 {
     _logInManager                = logInManager;
     _tenantCache                 = tenantCache;
     _abpLoginResultTypeHelper    = abpLoginResultTypeHelper;
     _configuration               = configuration;
     _externalAuthConfiguration   = externalAuthConfiguration;
     _externalAuthManager         = externalAuthManager;
     _userRegistrationManager     = userRegistrationManager;
     _applicationUserReposatory   = applicationUserReposatory;
     _userManager                 = userManager;
     _encryptionDecryptionService = encryptionDecryptionService;
 }
Beispiel #4
0
 public EmailService(IConfiguration configuration, IEncryptionDecryptionService encryptionDecryptionService, IHostingEnvironment environment)
 {
     _configuration = configuration;
     _environment   = environment;
     _encryptionDecryptionService = encryptionDecryptionService;
 }