2021-11-30 18:04:41 -03:00
|
|
|
<?php
|
2021-12-25 23:17:15 -03:00
|
|
|
use Incoviba\API\Common\Controller\Auth;
|
2021-11-30 18:04:41 -03:00
|
|
|
|
2021-12-25 23:17:15 -03:00
|
|
|
$app->post('/auth/login[/]', [Auth::class, 'login']);
|
|
|
|
$app->get('/auth/generate[/]', [Auth::class, 'generate']);
|
|
|
|
$app->post('/auth/validate[/]', [Auth::class, 'validate']);
|
|
|
|
$app->post('/auth/user[/]', [Auth::class, 'user']);
|
|
|
|
$app->post('/auth/logout[/]', [Auth::class, 'logout']);
|