HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/csb.komma.pro/vendor/komma/kms/src/Auth/AuthRoutes.php
<?php


namespace Komma\KMS\Auth;

use Illuminate\Support\Facades\Route;

use Komma\KMS\Auth\Kms\LoginController as KmsLoginController;
use Komma\KMS\Auth\Kms\ResetPasswordController as KmsResetPasswordController;
use Komma\KMS\Auth\Kms\ForgotPasswordController as KmsForgotPasswordController;


final class AuthRoutes
{
    /**
     * Route that are resolved from the Alias route to Rest Route by the AliasMiddleware.
     * Through the controller the models will be bind by Implicit Route Model Binding,
     * so no need to add Route::model in here.
     */
    public static function web(){
        // All route that should start with kms
        Route::prefix('kms')
        ->group(function () {
            Route::get('login', KmsLoginController::class.'@showLoginForm')->name('kms.login');
            Route::post('login', KmsLoginController::class.'@login');
            Route::post('logout', KmsLoginController::class.'@logout')->name('kms.logout');

            // Password Reset Routes...
            Route::get('password/reset', KmsForgotPasswordController::class.'@showLinkRequestForm')->name('kms.password.request');
            Route::post('password/email', KmsForgotPasswordController::class.'@sendResetLinkEmail')->name('kms.password.email');
            Route::get('password/reset/{token}', KmsResetPasswordController::class.'@showResetForm')->name('kms.password.reset');

            Route::get('password/set/{token?}', KmsResetPasswordController::class.'@showSetForm')->name('kms.password.request_set');
            Route::post('password/set', KmsResetPasswordController::class.'@reset')->name('kms.password.set'); //Notice. Route is also being used for resetting passwords.
        });

    }
}