This are a base interfaces which needs to be implemented by authentication repository (AuthRepository
) and by repository of users (UserRepository
).
Classes implementing this interfaces should be only responsible for retrieving data from data sources.