Should there be a separate Authenticator interface or just let DataWriter handle that end-to-end?
What are the functions that we should expect all implementations to provide?
Can we expect password resetting to always happen via an email link?
What about bank authentication?
Should the DataWriter also come with a capabilities property that could be used by the frontend to know which functions are available?
Subtasks
[ ] Make the list of API calls as generic and succint as possible.
[ ] Move all API call implementations in the Candidate App from pages and components into the generic dataWriter module, see for example the <QuestionPage> template.
[ ] Harmonize API calls between the Voter and Candidate Apps.
See a list of possible API calls.
Consider also:
Authenticator
interface or just letDataWriter
handle that end-to-end?DataWriter
also come with acapabilities
property that could be used by the frontend to know which functions are available?Subtasks
dataWriter
module, see for example the<QuestionPage>
template.