FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Controllers\AuthController Class Reference

Controller for Auth requests. More...

Inheritance diagram for Fossology\UI\Api\Controllers\AuthController:
Inheritance graph
Collaboration diagram for Fossology\UI\Api\Controllers\AuthController:
Collaboration graph

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
 

Detailed Description

Controller for Auth requests.

Controller for bad requests.

Definition at line 34 of file AuthController.php.

Member Function Documentation

◆ createNewJwtToken()

Fossology\UI\Api\Controllers\AuthController::createNewJwtToken (   $request,
  $response,
  $args 
)

Get the JWT authentication headers for the user

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper
Exceptions
HttpErrorException

Definition at line 59 of file AuthController.php.

◆ optionsVerification()

Fossology\UI\Api\Controllers\AuthController::optionsVerification (   $request,
  $response,
  $args 
)

Respond to OPTIONS requests with an empty 204 response

Parameters
ServerRequestInterface$request
ResponseHelper$response
array$args
Returns
ResponseHelper

Definition at line 45 of file AuthController.php.


The documentation for this class was generated from the following file: