gestion addin

This commit is contained in:
mrKamoo
2026-10-01 13:38:01 +02:00
parent 28eba5e1e4
commit 1b91590cca
13 changed files with 769 additions and 48 deletions
+3
View File
@@ -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');
});