📜  sanctum laravel - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:43.611000             🧑  作者: Mango

代码示例6
Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
    return $request->user();
});