Complete guide for integrating Android apps with SurgicalControl authentication system
The SurgicalControl API provides authentication and usage tracking for your Android da Vinci robot control app. This API allows users to:
The API uses JWT (JSON Web Tokens) for authentication. After successful login or signup, you'll receive a token that must be included in subsequent requests.
Store the JWT token securely in your Android app using SharedPreferences or EncryptedSharedPreferences:
User's full name
User's email address (must be unique)
User's password (minimum 6 characters)
Subscription plan: "basic", "professional", or "enterprise"
User's email address
User's password
Bearer token: "Bearer YOUR_JWT_TOKEN"
Bearer token: "Bearer YOUR_JWT_TOKEN"
Bearer token: "Bearer YOUR_JWT_TOKEN"
Session duration in seconds
Add these dependencies to your build.gradle
file: