Apart from the root user(Hosting Owner), events sent by every other user's request will be authenticated
Event Auth
token can be issued on user level or event level
The token issued to the user will be applicable for all events of the user and the token issued for the event will be applicable just for events
Support only user-level tokens for now
Query Auth
root user query requests can be unauthenticated
any other user's query request must be authenticated
Auth Flow
At the very first software will be installed by the user. At the time of installing the software, the user can provide the password for the root user named WatchMan. At startup time, the service will update the root user password.
The root user can be used to create new users via HTTP API. Every user can create new events, and define schema(Apache Avro can be used) and validation rules. Users can start sending events and query data.
Service Auth
Event Auth
Query Auth
Auth Flow
At the very first software will be installed by the user. At the time of installing the software, the user can provide the password for the root user named
WatchMan
. At startup time, the service will update the root user password.The root user can be used to create new users via HTTP API. Every user can create new events, and define schema(Apache Avro can be used) and validation rules. Users can start sending events and query data.