public AuthController(IAntiforgery antiForgeryService, ILocalAuthenticationService authService, CultureService cultureService, IOptions <Toucan.Server.Config> serverConfig, ISignupService signupService, ITokenProviderService <Token> tokenService, IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization) { this.antiForgeryService = antiForgeryService; this.authService = authService; this.cultureService = cultureService; this.serverConfig = serverConfig.Value; this.signupService = signupService; this.tokenService = tokenService; }
public AuthController(IAntiforgery antiForgeryService, ILocalAuthenticationService authService, IOptions <Toucan.Server.Config> serverConfig, ISignupService signupService, IVerificationProvider verificationProvider, ITokenProviderService <Token> tokenService) { this.antiForgeryService = antiForgeryService; this.authService = authService; this.serverConfig = serverConfig.Value; this.signupService = signupService; this.tokenService = tokenService; this.verificationProvider = verificationProvider; }
public OAuthUserInfoService(HttpClient client, ILogger <OAuthUserInfoService> logger, IConfiguration configuration, ICache <OAuthUser> cache, ITokenProviderService tokenProviderService) { _client = client ?? throw new ArgumentNullException(nameof(client)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _cache = cache ?? throw new ArgumentNullException(nameof(cache)); _tokenProviderService = tokenProviderService ?? throw new ArgumentNullException(nameof(tokenProviderService)); }
public ManageController(IOptions <ConfigSettings> ConfigurationSettings, UserManager <ApplicationUser> UserManager, IEmailService EmailService, ITokenProviderService TokenProviderService) { _configSettings = ConfigurationSettings.Value; _userManager = UserManager; _emailManager = EmailService; _tokenProviderService = TokenProviderService; }
public AuthService( IRepository <User> userRepository, ITokenProviderService tokenProvider, IPasswordHasher passwordHasher ) { this.userRepository = userRepository; this.tokenProvider = tokenProvider; this.passwordHasher = passwordHasher; }
public IdentityController( RAISClient client, ITokenProviderService tokenProviderService, IIdentityService identityService, ILogger <IdentityController> logger) { _RAISHttpClient = client; _tokenProviderService = tokenProviderService; _identityService = identityService; _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public AccountController(UserManager <ApplicationUser> UserManager, SignInManager <ApplicationUser> SignInManager, IEmailService EmailManager, IOptions <ConfigSettings> ConfigSettings, ITokenProviderService TokenProviderService, IReferralCodeService ReferralCodeService) { this._userManager = UserManager; this._signInManager = SignInManager; this._emailManager = EmailManager; this._configSettings = ConfigSettings.Value; this._tokenManager = TokenProviderService; this._referralCodeService = ReferralCodeService; }
public ProfileController(IOptions <ConfigSettings> ConfigurationSettings, SignInManager <ApplicationUser> SignInManager, UserManager <ApplicationUser> UserManager, IEmailService EmailService, IProfileService ProfileService, IBlobService BlobService, ITokenProviderService TokenProviderService, IVenueService VenueService, IBookingService BookingService) { _configSettings = ConfigurationSettings.Value; _userManager = UserManager; _signInManager = SignInManager; _emailManager = EmailService; _blobManager = BlobService; _profileManager = ProfileService; _tokenProviderService = TokenProviderService; _bookingService = BookingService; _venueService = VenueService; }
public UserService(ILogger logger, IMapper mapper, IServiceProvider serviceProvider, IUserDomainService userDomainService, IAuthorizationStatusValidator authorizationStatusValidator, ITokenProviderService tokenProviderService, AuthApiUrlConfiguration authApiUrlConfiguration, PasswordConfiguration passwordConfiguration, IPasswordHistoryService passwordHistoryService, IEmailService emailService, IEmailTemplateProvider emailTemplateProvider, EmailTemplatesConfiguration emailTemplatesConfiguration) : base(logger, mapper, serviceProvider) { _userDomainService = userDomainService; _authorizationStatusValidator = authorizationStatusValidator; _tokenProviderService = tokenProviderService; _authApiUrlConfiguration = authApiUrlConfiguration; _passwordConfiguration = passwordConfiguration; _passwordHistoryService = passwordHistoryService; _emailService = emailService; _emailTemplateProvider = emailTemplateProvider; _emailTemplatesConfiguration = emailTemplatesConfiguration; }
public ExternalAuthControllerController(IExternalAuthenticationService externalAuthService, IMemoryCache cache, ITokenProviderService <Token> tokenService) { this.externalAuthService = externalAuthService; this.cache = cache; this.tokenService = tokenService; }
public ExternalAuthControllerController(IExternalAuthenticationService externalAuthService, IMemoryCache cache, ITokenProviderService <Token> tokenService, IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization) { this.cache = cache; this.externalAuthService = externalAuthService; this.tokenService = tokenService; }
public AccountController(ITokenProviderService tokenProvider, UserManager <SysUsers> userManager) { _tokenProvider = tokenProvider; _userManager = userManager; }
public TokenBuilderService(ITokenProviderService tokenProviderService, IOptions <AppSettings> settings) { _settings = settings; _tokenProviderService = tokenProviderService; }
public AuthenticationService(ITokenProviderService tokenProvider) { _tokenProvider = tokenProvider; }
public Authenticator(TaskManagementAuthenticationHttpClient authenticationClient, ITokenProviderService tokenProvider, TaskManagementAccountsHttpClient accountClient) { _authenticationClient = authenticationClient; _tokenProvider = tokenProvider; _accountClient = accountClient; }
public ProfileController(CultureService cultureService, IManageProfileService profileService, ITokenProviderService <Token> tokenService, IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization) { this.cultureService = cultureService; this.profileService = profileService; this.tokenService = tokenService; }