Api authentication
Created by: astex
This allows previously-registered apps to perform a handshake request to authenticate with the API. Server-side applications handshake with a key and a secret, while client-side applications handshake with a key and their referrer. A token is given in reply which is sent with every subsequent request and checked against the key using a redis cache.