gestion addin
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\Api\ProfileController;
|
||||
use App\Http\Controllers\Api\SignatureController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
// Appelé par l'add-in Outlook (jeton Entra NAA en Bearer).
|
||||
Route::prefix('v1')->middleware(['entra.token', 'throttle:signature'])->group(function () {
|
||||
Route::get('/signature', [SignatureController::class, 'show'])->name('api.signature');
|
||||
Route::get('/profile', [ProfileController::class, 'show'])->name('api.profile');
|
||||
Route::put('/profile', [ProfileController::class, 'update'])->name('api.profile.update');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user