public IdentityController(ICommandDispatcher commandDispatcher, IQueryDispatcher queryDispatcher, IAuthTokensCache authTokensCache, IRefreshTokensService refreshTokensService) { _commandDispatcher = commandDispatcher; _queryDispatcher = queryDispatcher; _refreshTokensService = refreshTokensService; _authTokensCache = authTokensCache; }
public SignInHandler(IPasswordsService passwordService, IAuthTokensService authTokensService, IRefreshTokensService refreshTokensService, IAuthTokensCache cache, IMongoRepository <IdentityDocument, Guid> repository) { _passwordService = passwordService; _authTokensService = authTokensService; _repository = repository; _cache = cache; _refreshTokensService = refreshTokensService; }
public AuthenticationServiceHelper( JwtSettings jwtSettings, TokenValidationParameters tokenValidationParameters, IUsersService userService, IRefreshTokensService refreshTokensService) { _jwtSettings = jwtSettings; _tokenValidationParameters = tokenValidationParameters; _userService = userService; _refreshTokensService = refreshTokensService; }
public AuthService( IUsersService userService, IEmailSender emailSender, IAuthenticationServiceHelper authenticationServiceHelper, IRefreshTokensService refreshTokensService, IStringHasherService stringHasherService) { _userService = userService; _authenticationServiceHelper = authenticationServiceHelper; _refreshTokensService = refreshTokensService; _stringHasherService = stringHasherService; _emailSender = emailSender; }
public SessionService( UserManager <User> userManager, IJwtFactory jwtFactory, IOptions <JwtOptions> jwtOptions, IRefreshTokensService refreshTokensService, ILoggerFactory loggerFactory ) { _userManager = userManager; _jwtFactory = jwtFactory; RefreshTokensService = refreshTokensService; _jwtOptions = jwtOptions.Value; Logger = loggerFactory.CreateLogger("Auth"); }
public OAuthService( IProfilesService profilesService, IIdentitiesService identitiesService, IClaimsService claimsService, ICodesService codesService, IAccessTokensService accessTokensService, IRefreshTokensService refreshTokensService, ICallbackUriService callbackUriService, IUserInfoService userInfoService) { _profilesService = profilesService; _identitiesService = identitiesService; _claimsService = claimsService; _codesService = codesService; _accessTokensService = accessTokensService; _refreshTokensService = refreshTokensService; _callbackUriService = callbackUriService; _userInfoService = userInfoService; }