CommonSense PHP API Library
OAuthSignatureMethodHmacSha1 Class Reference
Inheritance diagram for OAuthSignatureMethodHmacSha1:
Collaboration diagram for OAuthSignatureMethodHmacSha1:

List of all members.

Public Member Functions

 getName ()
 buildSignature ($request, $consumer, $token)

Detailed Description

The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104] where the Signature Base String is the text and the key is the concatenated values (each first encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&' character (ASCII code 38) even if empty.

  • Chapter 9.2 ("HMAC-SHA1")

Member Function Documentation

OAuthSignatureMethodHmacSha1::buildSignature ( request,
consumer,
token 
)

Needs to return the name of the Signature Method (ie HMAC-SHA1)

Returns:
string

Reimplemented from OAuthSignatureMethod.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables