
MKDoc::Auth::User - Simple user class for MKDoc::Auth

Returns the MKDoc::SQL::Table object associated with this class. This object represents the table in which MKDoc::Auth::User objects are stored.
Returns the name of the SQL table in which MKDoc::Auth::User objects are stored.
Instanciates and returns the MKDoc::SQL::Table object in which MKDoc::Auth::User objects are stored.
The maximum length of the login field.
The minimum length of the login field.
The maximum length of the password.
The minimum length of the password.
Validates this object. For each error encountered, instanciates MKDoc::Core::Error objects. If you are using a MKDoc::Core::Plugin object.
Possible error flags:
Creates a new MKDoc::Auth::User object. %args must be:
email => $email_address, full_name => $full_name, password_1 => $user_password, password_2 => $user_password,
The 'email' argument will also be used as the login of the user.
Returns all MKDoc::Auth::User objects which have been saved.
Returns the MKDoc::Auth::User object from its object id.
Returns the MKDoc::Auth::User object with login $login.
Finds all the users whose email address is matching $email.
Saves the object into the database. If the object is new, inserts it. Otherwise updates it.
Deletes the object from the database.
Returns the identifier of this object.
Returns the Login attribute of this object.
Sets the Login attribute for this object.
Returns the proposed new password of this object.
Sets the proposed new password for this object.
Returns the proposed new password verification of this object.
Sets the proposed new password verification for this object.
Returns the encrypted password of this object.
Sets the encrypted password of this object.
Checks wether the encrypted $pass matches $self->password().
Returns the full name of this object.
Sets the full name of this object.
Returns the email of this object.
Sets the email of this object.
Encryps $clear_password and sets it as a temporary password.
Sets the encrypted password of this object.
Gets the encrypted password of this object.
Checks wether the encrypted $pass matches $self->temp_password().
Deletes the current temporary password.