Authentication Methods
The API supports multiple authentication methods:
- None: No authentication required
- JWT: JSON Web Token authentication
- API Key: API key authentication
- Unix: Unix user authentication
- PAM: Pluggable Authentication Modules
Authentication Endpoints
POST /api/auth/login
Authenticate with the server and receive an access token.
Request Body:
Response:
POST /api/auth/logout
Log out and invalidate the current session.
Response:
GET /api/auth/validate
Validate the current authentication token.
Headers:
Response:
POST /api/auth/refresh
Refresh the current authentication token.
Response:
GET /api/auth/me
Get information about the currently authenticated user.