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")

Class Methods

The following methods can be invoked on instances of this class.


buildSignature(mixed pRequest, mixed pConsumer, mixed strToken)

checkSignature(mixed pRequest, mixed pConsumer, mixed strToken, string strSignature)

Verifies that a given signature is correct