protected function mapAdministratorAuthenticationRoutes(Router $router)
    {
        $router->group(['prefix' => admin_prefix(), 'middleware' => 'web'], function () use ($router) {
            $router->get('login', AuthController::class . '@showLoginForm')->name('administrator.login');
            $router->get('logout', AuthController::class . '@logout')->name('administrator.logout');
            $router->post('login', AuthController::class . '@login')->name('administrator.login');
        });
    }
protected function mapAdministratorAuthenticationRoutes(Router $router)
    {
        $router->group(['prefix' => admin_prefix(), 'middleware' => 'web'], function () use ($router) {
            $router->get('login', AuthController::class . '@showLoginForm')->name('administrator.login');
            $router->get('logout', AuthController::class . '@logout')->name('administrator.logout');
            $router->post('login', AuthController::class . '@login')->name('administrator.login');
        });
    }
protected function mapAdministratorAuthenticationRoutes ( Router $ router ) { $ router -> group ( [ 'prefix' => admin_prefix ( ) , 'middleware' => 'web' ] , function ( ) use ( $ router ) { $ router -> get ( 'login' , AuthController :: class . '@showLoginForm' ) -> name ( 'administrator.login' ) ; $ router -> get ( 'logout' , AuthController :: class . '@logout' ) -> name ( 'administrator.logout' ) ; $ router -> post ( 'login' , AuthController :: class . '@login' ) -> name ( 'administrator.login' ) ; } ) ; }
Map administrator authentication routes.

@param \Illuminate\Routing\Router $router
Map administrator authentication routes .