FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Controller for Auth requests. More...
Public Member Functions | |
optionsVerification ($request, $response, $args) | |
createNewJwtToken ($request, $response, $args) | |
Public Member Functions inherited from Fossology\UI\Api\Controllers\RestController | |
__construct ($container) | |
Additional Inherited Members | |
Protected Member Functions inherited from Fossology\UI\Api\Controllers\RestController | |
getParsedBody (ServerRequestInterface $request) | |
Parse request body as JSON and return associative PHP array. More... | |
throwNotAdminException () | |
uploadAccessible ($id) | |
isItemExists (int $uploadId, int $itemId) | |
Protected Attributes inherited from Fossology\UI\Api\Controllers\RestController | |
$container | |
$restHelper | |
$dbHelper | |
Controller for Auth requests.
Controller for bad requests.
Definition at line 34 of file AuthController.php.
Fossology\UI\Api\Controllers\AuthController::createNewJwtToken | ( | $request, | |
$response, | |||
$args | |||
) |
Get the JWT authentication headers for the user
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
HttpErrorException |
Definition at line 59 of file AuthController.php.
Fossology\UI\Api\Controllers\AuthController::optionsVerification | ( | $request, | |
$response, | |||
$args | |||
) |
Respond to OPTIONS requests with an empty 204 response
ServerRequestInterface | $request | |
ResponseHelper | $response | |
array | $args |
Definition at line 45 of file AuthController.php.