public AuthenticationService(IReadonlyAuthenticationRepository readonlyAuthenticationRepository) { _readonlyAuthenticationRepository = readonlyAuthenticationRepository; }
public LoginQueryHandler(IMapper mapper, IReadonlyAuthenticationRepository readonlyAuthenticationRepository, ITokenGenerator tokenGenerator) { _mapper = mapper; _readonlyAuthenticationRepository = readonlyAuthenticationRepository; _tokenGenerator = tokenGenerator; }