Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- |--------------------------------------------------------------------------
- | Web Routes
- |--------------------------------------------------------------------------
- |
- | Here is where you can register web routes for your application. These
- | routes are loaded by the RouteServiceProvider within a group which
- | contains the "web" middleware group. Now create something great!
- |
- */
- Route::get('/', function () {
- return view('welcome');
- });
- Route::post('/login2', "OAuth\OAuthController@login")->name("loginWithDevOne");
- Route::post('/', "OAuth\OAuthController@getTokenByPasswordGrant")->name("getToken");
- // Route::get('/lip', "OAuth\OAuthController@loginWithPassGrant")->name("loginWithDevOneth");
- // Route::get("/menu_token","MenuController");
- Auth::routes();
- Route::get('/info',"Info\InfoController@getInfoAccount")->name("information");
- Route::get('/home', 'HomeController@index')->name('home');
- Route::get('/', function () {
- return view('welcome');
- });
- Auth::routes();
- // Route::get('/home', 'HomeController@index')->name('home');
- Route::get('/redirect',"OAuth\OAuthController@requestAuth" )->name("request.autherize");
- Route::get('/auther/callback',"OAuth\OAuthController@callbackAuth" );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement