UserService: Managing users with Mouf
This package is part of the Mouf PHP framework and contains objects and interfaces to manage users' authentication.
It allows you to manage logged users. UserService does authentication, not authorization. If you want to manage users rights, have a look at the Right Service.
Simply put, UserService:
- manages the user's session for you
- allows you to login / logout (
login()
andlogoff()
methods) - knowns if the current user is logged or not (
isLogged()
) - allows you to retrieve the current logged user (
getLoggedUser()
)
Install UserService: Installation
Found a typo? Something is wrong in this documentation? Just fork and edit it!