Simple storage-detached identity and access managment library written in vanilla PHP.
Currently only session based authentication is supported, but it can be easily be updated to support token based authentication.
- user register
- user login
- user session managment
- remember me cookies
- password reset over email with PHPMailer
- Copy ./class content to your project
- Provide implementation of following interfaces:
- CredentialsStorage
- RememberMeStorage
- PwdResetStorage (Optional, only if Password reset option used)
- Load your constants
- Instantiate IdentityAccessManager
- Use IdentityAccessManager object
Example of implementation with MySQL can be found inside ./example directory, here