v2hub: an ecosystem for developers
说明与用途
开发者现在可以使用 v2hub 作为集中式订阅管理系统来提供 VPN 服务,用户则保留对提供商访问的控制权。
问题
Developers needed a way to offer VPN services to users without managing subscriptions themselves, while keeping user tokens private and allowing users to control provider access.
结果
Developers can now offer VPN services without building their own subscription infrastructure, while users maintain full control over provider access and can manage all subscriptions in one place.
工作流
- 1. Developer creates a provider account and obtains a provider API token.
- 2. Developer requests access to a user via the API, triggering a pending request.
- 3. If the user exists, the provider receives a connection link to send to the user; if not, the server returns an HMAC‑signed invite link for user creation and connection.
- 4. User follows the link, approves or rejects the request.
- 5. Upon approval, the provider can create, update, or delete subscriptions for that user, but only those it created.
- 6. Users can revoke provider access, which hides the provider’s subscriptions but does not delete them; reconnection restores visibility.
证据
A provider is a separate account type that can, with the user's consent, manage that user's subscriptions.
If a user approves or rejects the request. Only after approval can the provider do anything with subscriptions.
A single user can connect a limited number of providers — five by default.
- 记录日期: 2026-09-15T18:00:22.415Z