public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, UserManager userManager, ICacheManager cacheManager, IOptions <JwtBearerOptions> jwtOptions, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager, IImpersonationManager impersonationManager, IUserLinkManager userLinkManager, IAppNotifier appNotifier, ISmsSender smsSender, IEmailSender emailSender, IOptions <IdentityOptions> identityOptions, GoogleAuthenticatorProvider googleAuthenticatorProvider, ExternalLoginInfoManagerFactory externalLoginInfoManagerFactory, ISettingManager settingManager, IJwtSecurityStampHandler securityStampHandler, AbpUserClaimsPrincipalFactory <User, Role> claimsPrincipalFactory) { _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _userManager = userManager; _cacheManager = cacheManager; _jwtOptions = jwtOptions; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; _impersonationManager = impersonationManager; _userLinkManager = userLinkManager; _appNotifier = appNotifier; _smsSender = smsSender; _emailSender = emailSender; _googleAuthenticatorProvider = googleAuthenticatorProvider; _externalLoginInfoManagerFactory = externalLoginInfoManagerFactory; _settingManager = settingManager; _securityStampHandler = securityStampHandler; _identityOptions = identityOptions.Value; _claimsPrincipalFactory = claimsPrincipalFactory; RecaptchaValidator = NullRecaptchaValidator.Instance; }
public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager) { _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; }
public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, StudioXLoginResultTypeHelper studioXLoginResultTypeHelper, TokenAuthConfiguration configuration, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager) { this.logInManager = logInManager; this.tenantCache = tenantCache; this.studioXLoginResultTypeHelper = studioXLoginResultTypeHelper; this.configuration = configuration; this.externalAuthConfiguration = externalAuthConfiguration; this.externalAuthManager = externalAuthManager; this.userRegistrationManager = userRegistrationManager; }
public UploadController( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager, IHostingEnvironment env) { _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; _appConfiguration = env.GetAppConfiguration(); }
public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, UserManager userManager, ICacheManager cacheManager, IOptions <JwtBearerOptions> jwtOptions, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager, IImpersonationManager impersonationManager, IUserLinkManager userLinkManager, IAppNotifier appNotifier, ISmsSender smsSender, IEmailSender emailSender, IOptions <IdentityOptions> identityOptions, GoogleAuthenticatorProvider googleAuthenticatorProvider, IRepository <PERSONALS, string> personalsRepo, IRepository <PERSONALS_MEMBER, string> personalsMemberRepo, IRepository <MP_UserPersonals> mpUserPersonalsRepo ) { _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _userManager = userManager; _cacheManager = cacheManager; _jwtOptions = jwtOptions; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; _impersonationManager = impersonationManager; _userLinkManager = userLinkManager; _appNotifier = appNotifier; _smsSender = smsSender; _emailSender = emailSender; _googleAuthenticatorProvider = googleAuthenticatorProvider; _identityOptions = identityOptions.Value; _personalsRepo = personalsRepo; _personalsMemberRepo = personalsMemberRepo; _mpUserPersonalsRepo = mpUserPersonalsRepo; }
public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, IUserManager userManager, ICacheManager cacheManager, IOptions <JwtBearerOptions> jwtOptions, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager, IImpersonationManager impersonationManager, IUserLinkManager userLinkManager, IAppNotifier appNotifier, ISmsSender smsSender, IEmailSender emailSender, IOptions <IdentityOptions> identityOptions, GoogleAuthenticatorProvider googleAuthenticatorProvider, IRepository <Tenant> tenantRepository, IAccountAppService accountAppService, IRepository <User, long> userRepository) { _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _userManager = userManager; _cacheManager = cacheManager; _jwtOptions = jwtOptions; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; _impersonationManager = impersonationManager; _userLinkManager = userLinkManager; _appNotifier = appNotifier; _smsSender = smsSender; _emailSender = emailSender; _googleAuthenticatorProvider = googleAuthenticatorProvider; _identityOptions = identityOptions.Value; _tenantRepository = tenantRepository; _accountAppService = accountAppService; _userRepository = userRepository; }
public ResourceOwnerPasswordValidator( IConfiguration appConfiguration, LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager) { _appConfiguration = appConfiguration; _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; }
/// <summary> /// ctor /// </summary> /// <param name="logInManager"></param> /// <param name="tenantCache"></param> /// <param name="abpLoginResultTypeHelper"></param> /// <param name="configuration"></param> /// <param name="externalAuthConfiguration"></param> /// <param name="externalAuthManager"></param> /// <param name="userRegistrationManager"></param> /// <param name="customerAppService"></param> /// <param name="hostingEnv"></param> public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager, ICustomerAppService customerAppService, IHostingEnvironment hostingEnv) { _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; _customerAppService = customerAppService; this._hostingEnv = hostingEnv; }
public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager, IOptions <AppSettings> appSettings) { _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; _appSettings = appSettings; uploadHelper = new UploadHelper(appSettings); }
public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager, IDapperRepository <AbpUsersEx, long> userRepository, RoleNameAppService roleNameAppService) { _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; _userRepository = userRepository; _roleNameAppService = roleNameAppService; }
public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager, IRepository <User, long> userRepository, IRepository <OperatorTree> treeRepository) { _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; _userRepository = userRepository; _treeRepository = treeRepository; }
public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, ShaLoginResultTypeHelper ShaLoginResultTypeHelper, TokenAuthConfiguration configuration, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager, IRepository <Person, Guid> personRepository, IRepository <MobileDevice, Guid> mobileDeviceRepository) { _logInManager = logInManager; _tenantCache = tenantCache; _shaLoginResultTypeHelper = ShaLoginResultTypeHelper; _configuration = configuration; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; _personRepository = personRepository; _mobileDeviceRepository = mobileDeviceRepository; }
public AuthorizeControllerBase( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, UserManager userManager, ICacheManager cacheManager, IOptions <JwtBearerOptions> jwtOptions, IExternalAuthManager externalAuthManager, IOptions <IdentityOptions> identityOptions) { LogInManager = logInManager; TenantCache = tenantCache; AbpLoginResultTypeHelper = abpLoginResultTypeHelper; Configuration = configuration; UserManager = userManager; CacheManager = cacheManager; JwtOptions = jwtOptions; ExternalAuthManager = externalAuthManager; IdentityOptions = identityOptions.Value; }
public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, UserManager userManager, ICacheManager cacheManager, IOptions <JwtBearerOptions> jwtOptions, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager, IImpersonationManager impersonationManager, IUserLinkManager userLinkManager, IAppNotifier appNotifier, ISmsSender smsSender, IEmailSender emailSender, IOptions <IdentityOptions> identityOptions, GoogleAuthenticatorProvider googleAuthenticatorProvider, IdentityServerTokenGeneratorFacade identityServerTokenGeneratorFacade) { _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _userManager = userManager; _cacheManager = cacheManager; _jwtOptions = jwtOptions; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; _impersonationManager = impersonationManager; _userLinkManager = userLinkManager; _appNotifier = appNotifier; _smsSender = smsSender; _emailSender = emailSender; _googleAuthenticatorProvider = googleAuthenticatorProvider; _identityOptions = identityOptions.Value; _identityServerTokenGeneratorFacade = identityServerTokenGeneratorFacade; }
public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager, AbpUserClaimsPrincipalFactory <User, Role> claimsPrincipalFactory, IRepository <User, long> userRepository, IRepository <Tenant> tenantRepository) { _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; _claimsPrincipalFactory = claimsPrincipalFactory; _userRepository = userRepository; _tenantRepository = tenantRepository; }
public TokenAuthController( LogInManager logInManager, ITenantCache tenantCache, AbpLoginResultTypeHelper abpLoginResultTypeHelper, TokenAuthConfiguration configuration, IExternalAuthConfiguration externalAuthConfiguration, IExternalAuthManager externalAuthManager, UserRegistrationManager userRegistrationManager, UserManager userManager, TenantManager tenantManager, ICryptoService cryptoService) { _logInManager = logInManager; _tenantCache = tenantCache; _abpLoginResultTypeHelper = abpLoginResultTypeHelper; _configuration = configuration; _externalAuthConfiguration = externalAuthConfiguration; _externalAuthManager = externalAuthManager; _userRegistrationManager = userRegistrationManager; _userManager = userManager; _tenantManager = tenantManager; _tokenHelper = new TokenHelper(cryptoService); }
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; }
public ExternalAuthController(IExternalAuthManager externalAuthManager) { _externalAuthManager = externalAuthManager; }
public ExternalAuthController(IIdentityServerInteractionService interaction, IExternalAuthManager externalAuthManager) { _interaction = interaction; _externalAuthManager = externalAuthManager; }