Controller responsible for user registration, authentication, and token generation.
More...
|
| | __construct () |
| |
| | register () |
| | Processes a new user registration request.
|
| |
| | login () |
| | Processes user login and issues JWT tokens.
|
| |
| | logout () |
| | Invalidates the current session.
|
| |
Controller responsible for user registration, authentication, and token generation.
◆ __construct()
| App\Controllers\AuthController::__construct |
( |
| ) |
|
◆ login()
| App\Controllers\AuthController::login |
( |
| ) |
|
Processes user login and issues JWT tokens.
◆ logout()
| App\Controllers\AuthController::logout |
( |
| ) |
|
Invalidates the current session.
◆ register()
| App\Controllers\AuthController::register |
( |
| ) |
|
Processes a new user registration request.
◆ $db
| PDO App\Controllers\AuthController::$db |
|
private |
The documentation for this class was generated from the following file: