Methods
initialize
- initialize(electionConfig: ElectionConfig): Promise<void>
- initialize(): Promise<void>
Parameters
Returns Promise<void>
Returns Promise<void>
requestAccessCode
- requestAccessCode(opaqueVoterId: string, email: string): Promise<void>
Parameters
opaqueVoterId: string
email: string
Returns Promise<void>
validateAccessCode
- validateAccessCode(code: string): Promise<void>
Parameters
Returns Promise<void>
registerVoter
- registerVoter(): Promise<void>
constructBallot
Parameters
Returns Promise<string>
waitForVerifierRegistration
- waitForVerifierRegistration(): Promise<string>
spoilBallot
- spoilBallot(): Promise<string>
challengeBallot
- challengeBallot(): Promise<void>
checkBallotStatus
- checkBallotStatus(trackingCode: string): Promise<BallotStatus>
Parameters
Returns Promise<BallotStatus>