Authenticate users and receive JWT tokens
required|string|emailrequired|min:8200 OK
422 Unprocessable Entity
Returned when request data fails validation.
400 Bad Request
Returned when the email doesn’t exist in the database.
Source: AuthController.php:83-88
401 Unauthorized
Returned when the password is incorrect for the given email.
Source: AuthController.php:94-98
AuthController.php:63-117):
auth()->attempt($credentials) to verify credentials200 OK
401 Unauthorized
Returned when no valid token is provided.
401 Unauthorized
Returned when the user is already logged out.
Source: AuthController.php:269-272
AuthController.php:264-283):
auth()->logout() to blacklist the token