This is the core feature of MCAuth. The client can use this endpoint to verify players connecting to the Minecraft server.
Curl Example
# GET /verify/{Player UUID}
curl -X GET http://localhost:5353/verify/5bce3068e4f3489fb66b5723b2a7cdb1 \
-H 'Authorization: 124324ce5e874587b08df602e8c5c797'
Example Response
If they're verified
{
"valid": true
}
If they're not verified
{
"valid": false,
"reason": "no_role"
}