Campustream 1.0
A social network MQP for WPI
OAuthSignatureMethod_PLAINTEXT Class Reference
Inheritance diagram for OAuthSignatureMethod_PLAINTEXT:
OAuthSignatureMethod

Public Member Functions

 get_name ()
 build_signature ($request, $consumer, $token)

Detailed Description

The PLAINTEXT method does not provide any security protection and SHOULD only be used over a secure channel such as HTTPS. It does not use the Signature Base String.

  • Chapter 9.4 ("PLAINTEXT")

Definition at line 125 of file OAuth.php.


Member Function Documentation

build_signature ( request,
consumer,
token 
)

oauth_signature is set to the concatenated encoded values of the Consumer Secret and Token Secret, separated by a '&' character (ASCII code 38), even if either secret is empty. The result MUST be encoded again.

  • Chapter 9.4.1 ("Generating Signatures")

Please note that the second encoding MUST NOT happen in the SignatureMethod, as OAuthRequest handles this!

Reimplemented from OAuthSignatureMethod.

Definition at line 139 of file OAuth.php.

get_name ( )

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

Returns:
string

Reimplemented from OAuthSignatureMethod.

Definition at line 126 of file OAuth.php.


The documentation for this class was generated from the following file: