Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (24 loc) · 543 Bytes

2.1. Verifying Players.md

File metadata and controls

30 lines (24 loc) · 543 Bytes

2.1. Verifying Players

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"
}

More Info