Contact Accountability

Cloud backend for the Contact Accountability mobile application. This server provides user authentication, account management, and data synchronization via REST API.

📡 API Endpoints

The membership API provides the following endpoints for the mobile app:

  • POST /api/membership/login
  • POST /api/membership/register
  • GET /api/membership/current
  • POST /api/membership/updateprofile
  • POST /api/membership/changepassword
  • POST /api/membership/forgotpassword
  • POST /api/membership/deleteaccount
  • GET /api/membership/users
  • GET /api/hello

🔐 Authentication

All authenticated endpoints require a JWT Bearer token in the Authorization header. Tokens are issued upon successful login or registration.

Tokens expire after 60 minutes by default (configurable via JwtExpirationMinutes in web.config).

👥 User Management

Users can self-register, update their email, change their password, recover forgotten passwords, and delete their accounts. All user data is managed via ASP.NET Membership.