$revisionEnabled
$revisionEnabled : boolean
Full implementation, as abstract class, of the `UserInterface`.
$authenticatedUser : \Charcoal\User\UserInterface
$objectRevisionClass : string
The class name of the object revision model.
Must be a fully-qualified PHP namespace and an implementation of \Charcoal\Object\ObjectRevisionInterface. Used by the model factory.
setActive(boolean  $active) : \Charcoal\User\UserInterface
                
| boolean | $active | The active flag.  | 
                            
Chainable
setPosition(integer  $position) : \Charcoal\Object\Content
                
| integer | $position | The position (for ordering purpose).  | 
                            
If the position is not an integer (or numeric integer string).
Chainable
setCreated(\DateTimeInterface|string|null  $created) : \Charcoal\Object\Content
                
| \DateTimeInterface|string|null | $created | The date/time at object's creation.  | 
                            
If the date/time is invalid.
Chainable
setCreatedBy(mixed  $createdBy) : \Charcoal\Object\Content
                
| mixed | $createdBy | The creator of the content object.  | 
                            
Chainable
setLastModified(\DateTimeInterface|string|null  $lastModified) : \Charcoal\Object\Content
                
| \DateTimeInterface|string|null | $lastModified | The last modified date/time.  | 
                            
If the date/time is invalid.
Chainable
setLastModifiedBy(mixed  $lastModifiedBy) : \Charcoal\Object\Content
                
| mixed | $lastModifiedBy | The last modification's username.  | 
                            
Chainable
setRevisionEnabled(boolean  $enabled) : \Charcoal\Object\RevisionableInterface
                
| boolean | $enabled | The (revision) enabled flag.  | 
                            
Chainable
createRevisionObject() : \Charcoal\Object\ObjectRevisionInterface
Create a revision object.
generateRevision() : \Charcoal\Object\ObjectRevision
latestRevision() : \Charcoal\Object\ObjectRevision
revisionNum(integer  $revNum) : \Charcoal\Object\ObjectRevision
                
| integer | $revNum | The revision number.  | 
                            
setPassword(string|null  $password) : \Charcoal\User\UserInterface
                
| string|null | $password | The user password. Encrypted in storage.  | 
                            
If the password is not a string (or null, to reset).
Chainable
setRoles(string|array<mixed,string>|null  $roles) : \Charcoal\User\AbstractUser
                
| string|array<mixed,string>|null | $roles | The ACL roles this user belongs to.  | 
                            
If the roles argument is invalid.
Chainable
setLastLoginDate(string|\DateTimeInterface|null  $lastLoginDate) : \Charcoal\User\AbstractUser
                
| string|\DateTimeInterface|null | $lastLoginDate | The last login date.  | 
                            
If the ts is not a valid date/time.
Chainable
setLastLoginIp(string|integer|null  $ip) : \Charcoal\User\UserInterface
                
| string|integer|null | $ip | The last login IP address.  | 
                            
If the IP is not an IP string, an integer, or null.
Chainable
setLastPasswordDate(string|\DateTimeInterface|null  $lastPasswordDate) : \Charcoal\User\UserInterface
                
| string|\DateTimeInterface|null | $lastPasswordDate | The last password date.  | 
                            
If the passsword date is not a valid DateTime.
Chainable
setLastPasswordIp(integer|string|null  $ip) : \Charcoal\User\UserInterface
                
| integer|string|null | $ip | The last password IP.  | 
                            
If the IP is not null, an integer or an IP string.
Chainable
setLoginToken(string  $token) : \Charcoal\User\UserInterface
                
| string | $token | The login token.  | 
                            
If the token is not a string.
Chainable
saveToSession() : \Charcoal\User\UserInterface
If trying to save a user to session without a ID.
Chainable
resetPassword(string  $plainPassword) : \Charcoal\User\UserInterface
                Reset the password.
Encrypt the password and re-save the object in the database. Also updates the last password date & ip.
| string | $plainPassword | The plain (non-encrypted) password to reset to.  | 
                            
If the plain password is not a string.
Chainable
getAuthenticated(\Charcoal\Factory\FactoryInterface  $factory) : \Charcoal\User\UserInterface|null
                Get the currently authenticated user (from session)
Return null if there is no current user in logged into
| \Charcoal\Factory\FactoryInterface | $factory | The factory to create the user object with.  | 
                            
If the user from session is invalid.
setObjectRevisionClass(string  $className) : \Charcoal\Object\AbstractPropertyDisplay
                Set the class name of the object revision model.
| string | $className | The class name of the object revision model.  | 
                            
If the class name is not a string.
Chainable