问 Laravel中的Auth::routes 分解记录

public function auth()
    {
        // Authentication Routes...
        $this->get('login', 'AuthLoginController@showLoginForm')->name('login');
        $this->post('login', 'AuthLoginController@login');
        $this->post('logout', 'AuthLoginController@logout')->name('logout');

        // Registration Routes...
        $this->get('register', 'AuthRegisterController@showRegistrationForm')->name('register');
        $this->post('register', 'AuthRegisterController@register');

        // Password Reset Routes...
        $this->get('password/reset', 'AuthForgotPasswordController@showLinkRequestForm')->name('password.request');
        $this->post('password/email', 'AuthForgotPasswordController@sendResetLinkEmail')->name('password.email');
        $this->get('password/reset/{token}', 'AuthResetPasswordController@showResetForm')->name('password.reset');
        $this->post('password/reset', 'AuthResetPasswordController@reset');
    }
原文地址:https://www.cnblogs.com/muwu/p/9354616.html