pass v0.3.0 Pass.DataStore.EctoAdapter
Implements the abstract data storage methods that Pass relies on for the Ecto library.
Summary
Functions
Sets the email confirmed field to true for the user with the specfied email
Returns the user with the specified ID or nil if the user can’t be found
Returns a map of the id and password string stored in the database for the specified identity field (eg. username)
Stashes the password reset token so we can prevent replay attacks
Updates the password with the specified value and clears out the password reset token
Returns true if a user with the specified email address and password reset token can be found. Otherwise it returns false
Returns true if the email address referenes a user in the data store, otherwise it returns false
Functions
Returns a map of the id and password string stored in the database for the specified identity field (eg. username).
Stashes the password reset token so we can prevent replay attacks
Updates the password with the specified value and clears out the password reset token.
Returns true if a user with the specified email address and password reset token can be found. Otherwise it returns false.