Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 1.85 KB

backend-services.md

File metadata and controls

52 lines (43 loc) · 1.85 KB

Backend dependencies and architecture

The application is built as a single page web app that can run without its own dedicated backend. This is useful for hosting it with a basic, static host. The server serves the static web content, and the frontend calls the JW Player Delivery API directly. However, for additional functionality, the application can also connect to other backends to provide user accounts / authentication, subscription management, and checkout flows.

Roles and Functions

The available backend integrations serve three main roles: Accounts, Subscription, and Checkout. Below are the methods that any backend integration needs to support broken down by role:

  • Account
    • login
    • register
    • getPublisherConsents
    • getCustomerConsents
    • resetPassword
    • changePassword
    • updateCustomer
    • updateCustomerConsents
    • getCustomer
    • refreshToken
    • getLocales
    • getCaptureStatus
    • updateCaptureAnswers
  • Subscription
    • getSubscriptions
    • updateSubscription
    • getPaymentDetails
    • getTransactions
  • Checkout
    • getOffer
    • createOrder
    • updateOrder
    • getPaymentMethods
    • paymentWithoutDetails
    • paymentWithAdyen
    • paymentWithPayPal

Existing Configurations

JWP

The OTT Web App is optimized to work with JWP authentication, subscriptions, and payments. For configuration options see configuration.md

The Web App was also developed with support for Cleeng. Cleeng is a third party platform that also provides support for the three functional roles above.