Download the PHP package wwtg99/pgauth without Composer
On this page you can find all versions of the php package wwtg99/pgauth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package pgauth
PgAuth
Auth library depends on Postgresql.
Support:
- Normal auth and OAuth
- User management
- Role management
- Department management
- App management
Auth Method
config auth_method
- Login by name and password: 1
- Login by name and access_token: 2
- Login by access_token only: 4
- Login with user_id only: 8
- Login by email and password: 16
- Login by email and access_token: 32
- Login by tel and password: 64
- Login by tel and access_token: 128
And login TTL, config token_ttl
- Login once (config token_ttl with 0, no cache)
- Login for some time (config token_ttl with > 0, use cache)
Usage
Initialize database
Run \i install.sql in psql
Auth
-
Normal Auth
-
OAuth
-
Manage department (One user belongs to one department or not)
-
Manage role (One user can belong to many roles)
-
Manage user
- Manage app
All versions of pgauth with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
wwtg99/data_pool Version *
desarrolla2/cache Version ~2.0
predis/predis Version ~1.0
wwtg99/data_pool Version *
desarrolla2/cache Version ~2.0
predis/predis Version ~1.0
The package wwtg99/pgauth contains the following files
Loading the files please wait ....