Authentication

From Oxygen.next Wiki

Jump to: navigation, search

Contents

[edit] Authentication

The REST API requires user authenticaiton to access or publish data. For instance, functionality on login.oxygennext.com available to logged in users, such as submitting Footage or downloading Playlists, are similarly protected through the API. There are currently two techniques to authenticate with the REST API others like oAuth are planned.

[edit] Basic Auth

Basic Authentication sends user credentials in the header of the HTTP/S request. This makes it easy to use.

[edit] OxygenConnect

OxygenConnect allows to authenticate via Tokens. This allows for sexy login with the up coming Oxygen Application Server platform. A User and Session token are added to the http request url by the Oxygen Application Server which then can be used to logon the API. You need to add the following http headers tu authenticate:

"UserToken"

"SessionToken"

"ApplicationToken"

[edit] oAuth

oAuth support is coming up soon