We have a membership service where members have unlimited access to videos (similar to Napster.com for music, or Hulu Plus). Videos are stored on Level 3 CDN, and can be authentication via a token (time expiring unique code generated on our servers based on authentication).
We will be creating a Private Channel, which will allow members of the website to view the same content on Roku.
We need help understanding how the registration and authentication is performed. Once a user links their Roku via rendezvous, they will have access. How do we revoke access once the membership is expired?
The members table stores username/password/membership status (1=active, 0=expired).
So should we also store the Device Service Token in this table to associate the account with a Roku box?
If a member does not have roku box id store in our db, or his status is expired, an XML file with the list of videos would not be generated.
How would I notify the user on the Roku box, that his membership has expired?
I would want the steps to be like this:
1. Go to our private channel
2. If device is linked to service, go to step 4, else, go to step 3
3. Register/link device to account.
4. If member active, proceed to showing content, else display a screen that informs the membership is expired, instructing the user to go to desktop to reactivate account.
What happens if the Roku channel is left open while the membership expires? At this point, since the channel already checked for membership status once, it would still allow access to the channel, but my XML files with content and authentication tokens would return empty. How can I in some way poll for the status, upon status change , the viewer should be presented with the same dialog box in step 4.
Finally, it would be very useful to have a complete example in the SDK that mimincs Hulu Plus or Netflix's channels to see how they perform these authentication steps.