auth
auth copied to clipboard
Do we need to add such a check and throw exception if pattern empty?
``` Group::create("/products") ->withCors(Cors::class) ->routes() ->routes( Route::get('') ->action([ProductController::class, 'index']) ->name('product/index'), Route::get('/{id:\d+}') ->middleware(Authentication::class) ->action([ProductController::class, 'view']) ->name('product/view'), Route::post('') ->middleware(Authentication::class) ->action([ProductController::class, 'create']) ->name('product/create'), Route::post('/{id:\d+}') ->middleware(Authentication::class) ->action([ProductController::class, 'update']) ->name('product/update'), Route::delete('/{id:\d+}') ->middleware(Authentication::class) ->action([ProductController::class, 'delete']) ->name('product/delete'), Route::put('/{id:\d+}/undo')...
Should we add the interface of service for a Identity Token invalidation? Invalidated can be one token (by token and token type) or all user tokens (by identity id and...