{"service":"Escore Auth Service","domain":"https:\/\/auth.escore.live","version":"1.0","endpoints":{"public":[{"method":"POST","path":"\/api\/register","description":"Register a new user","requires_auth":false},{"method":"POST","path":"\/api\/login","description":"Authenticate user and get token","requires_auth":false},{"method":"GET","path":"\/auth\/{provider}","description":"Start Google or Facebook OAuth (browser redirect)","requires_auth":false},{"method":"GET","path":"\/auth\/{provider}\/callback","description":"OAuth callback; redirects to the platform with a one-time code","requires_auth":false},{"method":"POST","path":"\/api\/social\/exchange","description":"Exchange a one-time social login code for an access token","requires_auth":false},{"method":"GET","path":"\/api\/social\/pending\/{token}","description":"Preview an unmatched social login (no user created yet)","requires_auth":false},{"method":"POST","path":"\/api\/social\/pending\/continue","description":"Create a new user from a pending social login","requires_auth":false},{"method":"POST","path":"\/api\/social\/pending\/request-code","description":"Send a verification code to an existing account email","requires_auth":false},{"method":"POST","path":"\/api\/social\/pending\/verify","description":"Verify the email code and attach the social identity","requires_auth":false},{"method":"GET","path":"\/api\/health","description":"Service health check","requires_auth":false},{"method":"GET","path":"\/api\/public\/user\/{id}","description":"Get user information by ID","requires_auth":false},{"method":"POST","path":"\/api\/public\/verify-user-access","description":"Verify if user can access resources","requires_auth":false}],"authenticated":[{"method":"GET","path":"\/api\/user","description":"Get current authenticated user","requires_auth":true},{"method":"POST","path":"\/api\/logout","description":"Logout and revoke token","requires_auth":true},{"method":"POST","path":"\/api\/refresh","description":"Refresh access token","requires_auth":true},{"method":"GET","path":"\/api\/verify","description":"Verify token validity","requires_auth":true},{"method":"GET","path":"\/api\/profile","description":"Get user profile with relationships","requires_auth":true},{"method":"GET","path":"\/api\/social\/identities","description":"List connected Google\/Facebook accounts","requires_auth":true},{"method":"POST","path":"\/api\/social\/identities","description":"Attach a pending social identity to the current user","requires_auth":true},{"method":"DELETE","path":"\/api\/social\/identities\/{provider}","description":"Disconnect a social provider from the current user","requires_auth":true},{"method":"GET","path":"\/api\/children","description":"Get all child users","requires_auth":true},{"method":"POST","path":"\/api\/children","description":"Create a new child user","requires_auth":true},{"method":"PUT","path":"\/api\/children\/{id}\/assign-email","description":"Assign email to child user","requires_auth":true},{"method":"PUT","path":"\/api\/children\/{id}","description":"Update child user","requires_auth":true},{"method":"DELETE","path":"\/api\/children\/{id}","description":"Delete child user","requires_auth":true}],"oauth2":[{"method":"GET","path":"\/oauth\/authorize","description":"OAuth2 authorization endpoint","requires_auth":false},{"method":"POST","path":"\/oauth\/token","description":"OAuth2 token endpoint","requires_auth":false},{"method":"GET","path":"\/oauth\/tokens","description":"List user tokens","requires_auth":true},{"method":"DELETE","path":"\/oauth\/tokens\/{token-id}","description":"Revoke specific token","requires_auth":true}]}}