Pckg Documentation
Pckg Documentation
  • About
  • Concept
  • Start
  • Deployment
  • Tests
  • Ecosystem
    • Docker images
    • Skeleton
  • Core packages
    • Auth
    • Cache
    • Collection
    • Concept
    • Database
      • Repository
        • Driver
      • Entity
        • Relations
        • Query
      • Record
        • Fields
        • Model
      • Events
      • Extensions
    • Framework
      • Environment
        • Console
        • Development
        • Production
        • Test
      • Application
      • Providers
      • Config
      • Router
      • Request
      • Response
      • Controller
        • Middleware
        • Afterware
      • View
      • Events
      • Exception
    • Generic
      • Dynamic
      • Generic
      • Maestro
    • Htmlbuilder
      • Elements
        • Form
        • Fields
      • Datasources
      • Validators
      • Decorators
    • Locale
    • Mail
      • Drivers
      • Template
      • Mail
    • Manager
      • Asset manager
      • SEO manager
      • Meta manager
      • Upload manager
      • Vue manager
      • Job manager
      • Locale manager
      • Page manager
    • Migrator
      • Migrations
      • Fields
    • Queue
      • Driver
      • Publisher
      • Subscriber
    • Storage
      • Driver
      • Media
    • Translator
  • More packages
    • API
    • HTTP QL
      • Read
      • Write
      • Uploads
    • Task
      • Async
    • Websocket
      • Server
      • Client
  • Frontend
    • Helpers JS
    • Helpers CSS
  • Extras
    • Parser
    • Payment
    • Tenant
Powered by GitBook
On this page
  • Pckg / Auth
  • Installation
  • Read more

Was this helpful?

  1. Core packages

Auth

PreviousSkeletonNextCache

Last updated 2 years ago

Was this helpful?

Pckg / Auth

Package 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 .

pckg/auth
authentication