Snip
|
Adding OAuth authentication to your server is very easy....
|
---|
Categories |
|
---|
For Snip |
loading snip actions ... |
---|---|
For Page |
loading url actions ... |
Adding OAuth authentication to your server is very easy. You will need to check the incoming requests for any OAuth authentication details. Some simple templates will be needed to handle the authorization of request tokens and for handling requests for access tokens.
You will need a couple of controllers:
HTML |
<p>Adding OAuth authentication to your server is very easy. You will need to check the incoming requests for any OAuth authentication details. Some simple templates will be needed to handle the authorization of request tokens and for handling requests for access tokens. </p><p>You will need a couple of controllers: </p><ol><li><tt>oauth_register.php</tt> to let an user obtain a consumer key and secret. </li><li><tt>request_token.php</tt> to return a request token. </li><li><tt>authorize.php</tt> to let the user authorize a request token. </li><li><tt>access_token.php</tt> to exchange an authorized request token for an access token. </li></ol> |
---|