\OAuthSimple
Synopsis
class OAuthSimple
{
- // members
- public $_secrets;
- public $_default_signature_method;
- public $_action;
- public $_nonce_chars;
- // methods
- public void OAuthSimple()
- public void reset()
- public void setParameters()
- public void setQueryString()
- public void setURL()
- public void setPath()
- public void setAction()
- public void signatures()
- public void setTokensAndSecrets()
- public void setSignatureMethod()
- public void sign()
- public void getHeaderString()
- public void _parseParameterString()
- public void _oauthEscape()
- public void _getNonce()
- public void _getApiKey()
- public void _getAccessToken()
- public void _getTimeStamp()
- public void _normalizedParameters()
- public void _readFile()
- public void _generateSignature()
Members
public
- $_action
- $_default_signature_method
- $_nonce_chars
- $_secrets
Methods
public
- OAuthSimple() — OAuthSimple creator
- _generateSignature()
- _getAccessToken()
- _getApiKey()
- _getNonce()
- _getTimeStamp()
- _normalizedParameters()
- _oauthEscape()
- _parseParameterString()
- _readFile()
- getHeaderString() — Return a formatted "header" string
- reset() — reset the parameters and url
- setAction() — set the "action" for the url, (e.g. GET,POST, DELETE, etc.)
- setParameters() — set the parameters either from a hash or a string
- setPath() — convienence method for setURL
- setQueryString()
- setSignatureMethod() — set the signature method (currently only Plaintext or SHA-MAC1)
- setTokensAndSecrets()
- setURL() — Set the target URL (does not include the parameters)
- sign() — sign the request
- signatures() — set the signatures (as well as validate the ones you have)