]> BookStack Code Mirror - bookstack/blob - app/Http/Controllers/UserApiTokenController.php
Started work on API token controls
[bookstack] / app / Http / Controllers / UserApiTokenController.php
1 <?php namespace BookStack\Http\Controllers;
2
3 use Illuminate\Http\Request;
4
5 class UserApiTokenController extends Controller
6 {
7
8     /**
9      * Show the form to create a new API token.
10      */
11     public function create(int $userId)
12     {
13         $this->checkPermission('access-api');
14
15         // TODO - Form
16         return 'test';
17     }
18
19
20 }