cURL
curl --request GET \ --url https://api.example.com/api/auth/me
{ "Id": {}, "Username": "<string>", "Email": "<string>", "CreatedAt": {} }
Retrieve information about the authenticated user
Authorization: Bearer <access_token>
curl -X GET http://localhost:5000/api/auth/me \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
{ "Id": "123e4567-e89b-12d3-a456-426614174000", "Username": "johndoe", "Email": "[email protected]", "CreatedAt": "2026-03-10T15:30:00Z" }
{ "message": "Token inválido." }
NameIdentifier
sub