Laravel\Lumen\Application::registerAuthBindings PHP Method

registerAuthBindings() protected method

Register container bindings for the application.
protected registerAuthBindings ( ) : void
return void
    protected function registerAuthBindings()
    {
        $this->singleton('auth', function () {
            return $this->loadComponent('auth', 'Illuminate\\Auth\\AuthServiceProvider', 'auth');
        });
        $this->singleton('auth.driver', function () {
            return $this->loadComponent('auth', 'Illuminate\\Auth\\AuthServiceProvider', 'auth.driver');
        });
        $this->singleton('Illuminate\\Contracts\\Auth\\Access\\Gate', function () {
            return $this->loadComponent('auth', 'Illuminate\\Auth\\AuthServiceProvider', 'Illuminate\\Contracts\\Auth\\Access\\Gate');
        });
    }