Skip to content
This repository was archived by the owner on Oct 9, 2022. It is now read-only.

Securing your API

hooman naghiee edited this page May 31, 2016 · 1 revision

you can secure your routes with oauth middleware

  • you can set scopes like this 'middleware' => 'oauth:scope1,scope2,...'
Route::get('admin/profile', ['middleware' => 'oauth', function () {
    //
}]);
Clone this wiki locally