publication-igid
v1.0.10
Published
Authorization gateway relying on an auth service for providing user editing interfaces
Downloads
12
Maintainers
Readme
Publication Transition Service
This package takes care of managing the state of media.
Here, the media finds its way into the storage through an upload service. The upload service may allow uploads that are sanctioned my the publication service. The upload service may also update, remove, or send to downstream publication and streaming services when the publication transition service demands these transitions.
Besides handling publicatio processes, this publication service provides introductory negotiations with an uploader service. This service handles the first stages of authentication and causes an uploader to create an entry with a token key. Authrozed clients may use the token to finalize the uploader processes by sending media to servers.
Web Service
This is a copious-transititions web servce.
It is also a WebSocket or IPC client to an uploading service.
Web clients, primary web clients, send a request for media uploading to this service. This service manages the session with the web service along with any crypto keys necessary for data submission. This service forwards the upload request (a transition) to the a chosen upload service as a primary transition. This service fields the response that carries a transition token needed for keying a secondary transition.
Secondary web clients may complete the transition with some of the response data provided by the primary web client. The secondary request, containing the transition token may decrypt permission token provided by the primary web service, where the primary web service received those permission tokens from this server, the pulication transition service.
This service provides encrypted session information to a secondary web client and to the uploader.
Uploader Client
This service uses its connection with the uploader service to perform primary transitions API calls. These are the same API responders that the uploader exposes to the web, but communication is not carried on HTTP.
The primary transition leaves the uploader with a transition object waiting for a secondary action. The transition object is keyed off of its transition token. Uploaders may examine signed data and perform verification on signatures prior to allowing data to pass through.
This service, the publication transition service, may be a client to one or more upload services. Some of the services may take modes sized data, e.g. stringified objects that can be carried in a single HTTP packet. Or, the services may expect multi-part MIME data with storage negotiated via a repository bridge.