zoukankan      html  css  js  c++  java
  • 问 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');
        }
  • 相关阅读:
    Redis(二)
    Redis(一)
    MyBatis--一级二级缓存
    MySQL优化
    HashMap
    ArrayList
    常用框架注解说明
    Linux常用基础命令
    SpringCloud--gateway路由配置
    JetBrains系列软件的插件安装
  • 原文地址:https://www.cnblogs.com/muwu/p/9354616.html
Copyright © 2011-2022 走看看