Authenticate if the email and password are correct and return the account and login ID if they are. Throw an error if they are not.
The user's email.
This user's password.
Confirms that the login has been verified.
This can be used with, for example, email verification.
The login can only be used after it is verified.
In case verification is not required, this should be called immediately after the create
call.
ID of the login.
Creates a new login entry for this account.
Email to log in with.
Account ID.
Password to authenticate with.
Delete the login entry.
ID of the login object.
Find all login objects created by this account.
ID of the account to find the logins for.
Finds the account and login ID associated with this email.
Email to find the information for.
Finds the account and email associated with this login ID.
The ID of the login object.
Changes the password.
ID of the login object.
The new password.
Responsible for storing everything related to email/password based login combinations.