Service used to authenticate remote users.
Class Login( instance ) from \ Service(( instance))
Note: uses the check_user( uid, password) hook
Properties | |
checker | Configurable callback to check for login requests. |
Configurable callback to check for login requests.
Will be called by this service on login requests.
It should return nil if the user is unauthorized, or a pair auth_level/auth_data on success.
The auth_user will be set after the input uid.