Package pckg/autharrow-up-right provides abstract implementation for authetication.
pckg/auth
Require Composer package.
$ composer require pckg/auth
Available providers:
BasicAuth
Auth
ApiAuth
Available migrations:
Pckg\Auth\Migration\CreateAuthTables - creates users, user_groups and user_password_resets tables
Pckg\Auth\Migration\CreateAuthTables
users
user_groups
user_password_resets
Pckg\Auth\Migration\CreatePermissionsTable - creates permissions table
Pckg\Auth\Migration\CreatePermissionsTable
permissions
Available configs:
pckg.auth.providers (["[key]": ["forgotPassword": boolean, "inactive": boolean]]) -
pckg.auth.providers
["[key]": ["forgotPassword": boolean, "inactive": boolean]]
pckg.auth.groups (["[id]": [""]]) -
pckg.auth.groups
["[id]": [""]]
pckg.auth.api.allowIps (string[]) -
pckg.auth.api.allowIps
string[]
pckg.auth.apiEntityField (string) -
pckg.auth.apiEntityField
string
pckg.auth.getParameter (string) -
pckg.auth.getParameter
pckg.auth.tags (...) -
pckg.auth.tags
...
pckg.auth.gates (...) -
pckg.auth.gates
pckg.auth.component.login (string) - VueJS component name to render the login form
pckg.auth.component.login
security.hash (string) -
security.hash
Read more about authenticationarrow-up-right.
Last updated 2 years ago