WGDashboard Documentation Help

Validate Authentication

This endpoint if needed for non-cross-server access. This will check if the cookie on the client side is still valid on the server side.

Request

GET /api/validateAuthentication

Response

200 - OK

Session is still valid

{ "data": null, "message": null, "status": true }

Session is invalid

{ "data": null, "message": "Invalid authentication.", "status": false }
Last modified: 23 September 2024