Auth

Pckg / Auth

Package pckg/auth provides abstract implementation for authetication.

Installation

Require Composer package.

$ composer require pckg/auth

Providers

Available providers:

  • BasicAuth

  • Auth

  • ApiAuth

Migrations

Available migrations:

  • Pckg\Auth\Migration\CreateAuthTables - creates users, user_groups and user_password_resets tables

  • Pckg\Auth\Migration\CreatePermissionsTable - creates permissions table

Config

Available configs:

  • pckg.auth.providers (["[key]": ["forgotPassword": boolean, "inactive": boolean]]) -

  • pckg.auth.groups (["[id]": [""]]) -

  • pckg.auth.api.allowIps (string[]) -

  • pckg.auth.apiEntityField (string) -

  • pckg.auth.getParameter (string) -

  • pckg.auth.tags (...) -

  • pckg.auth.gates (...) -

  • pckg.auth.component.login (string) - VueJS component name to render the login form

  • security.hash (string) -

Read more

Read more about authentication.

Last updated

Was this helpful?