VXG Cloud VMS does not provide user authentication and authorization services. It is fully detached from user management and thus easy to integrate with any existing or new authentication and authorization service.
On the VXG Cloud VMS level, all data is fully anonymous and cameras are represented as a flat list of unique camera ids.
Channel ID | Access Token, … |
23454 | eyJhY2Nlc3324dwfdsf2F0Y2giLCAidG9r34… |
23455 | eyJhYfsdfdslc3MiOiAid2F0Y2giLCAidG9rrW… |
23456 | eyJghjY2Nlc3MiOiAid2F0Y2giLCAidG9rZe… |
23457 | eyJhY2Nlc3MiOiAid2F0Y2giLCAidG9rZ5… |
23458 | eyJhY2Nlc3MiOiAid2F0Y2giLCAidG9rZ1… |
As an example, the VXG Web and Mobile clients use Google Firebase for authentication. The authorization and permissions are managed by a simple backend DB that associates Firebase user ids with camera ids and access levels.
Firebase UID | Access Token | Permission |
JiGh_31GA20JabpZBfa | eyJhY2Nlc3324dwfdsf2F0Y2giLCAidG9r34… | Owner |
LiGh_81GA20JabpZBfb | eyJhYfsdfdslc3MiOiAid2F0Y2giLCAidG9rrW… | Shared |
JiGh_31GA20JabpZBfa | eyJghjY2Nlc3MiOiAid2F0Y2giLCAidG9rZe… | Shared |
JiGh_31GA20JabpZBfa | eyJhY2Nlc3MiOiAid2F0Y2giLCAidG9rZ5… | Owner |
PiGh_96GA20JabpZBca | eyJhY2Nlc3MiOiAid2F0Y2giLCAidG9rZ1… | Shared |
In the above example the user with Firebase UID JiGh_31GA20JabpZBfa
will have access to 3 cameras with Access Tokens: eyJhY2Nlc3324dwfdsf2F0Y2giLCAidG9r34...
, eyJghjY2Nlc3MiOiAid2F0Y2giLCAidG9rZe...
, eyJhY2Nlc3MiOiAid2F0Y2giLCAidG9rZ5...
The Access Tokens are all you need for playback live or recorded video using Web or Mobile SDK, as well as for calling REST API functions of the VXG Cloud VMS platform.