renamed authenticator to auth and adjusted container.
This commit is contained in:
parent
9db8e1bb6c
commit
3ada2cbd3e
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
'laravel.auth' => array('singleton' => true, 'resolver' => function($container)
|
'laravel.auth' => array('singleton' => true, 'resolver' => function($container)
|
||||||
{
|
{
|
||||||
return new Security\Authenticator($container->resolve('laravel.config'), $container->resolve('laravel.session'));
|
return new Security\Auth($container->resolve('laravel.config'), $container->resolve('laravel.session'));
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
use Laravel\Session\Driver;
|
use Laravel\Session\Driver;
|
||||||
|
|
||||||
class Authenticator {
|
class Auth {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The current user of the application.
|
* The current user of the application.
|
||||||
|
@ -11,19 +11,19 @@ class Authenticator {
|
||||||
*/
|
*/
|
||||||
protected $user;
|
protected $user;
|
||||||
|
|
||||||
/**
|
|
||||||
* The session driver being used by the Auth instance.
|
|
||||||
*
|
|
||||||
* @var Session\Driver
|
|
||||||
*/
|
|
||||||
protected $session;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The configuration manager instance.
|
* The configuration manager instance.
|
||||||
*
|
*
|
||||||
* @var Config
|
* @var Config
|
||||||
*/
|
*/
|
||||||
protected $engine;
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The session driver instance.
|
||||||
|
*
|
||||||
|
* @var Session\Driver
|
||||||
|
*/
|
||||||
|
protected $session;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new authenticator instance.
|
* Create a new authenticator instance.
|
Loading…
Reference in New Issue