DotKernel authentication controller plugin

v2.0.0 2020-01-30 11:52 UTC

This package is auto-updated.

Last update: 2020-03-30 00:35:25 UTC


Authentication controller plugin.


Run the following command

$ composer require dotkernel/dot-controller-plugin-authentication

This will also install package dotkernel/dot-controller and dotkernel/dot-authentication as dependencies Enable the module by merging the ConfiProvider output to your application's configuration, to register the services defined by this module.


In any controller, you can access this plugin by calling


This plugin defines 2 methods you can use in your controllers to check for the currently authenticated identity.


Returns a boolean value indicating if there is an authenticated identity or a guest identity


Returns the current identity as an hydrated object, as defined in the authentication module