phpDocumentor plugins
Twitter
[ class tree: plugins ] [ index: plugins ] [ all elements ]

Class: OAuthSignatureMethod_PLAINTEXT

Source Location: /qp_plugins/twitter_plugin/twitteroauth/oAuth.php

Class OAuthSignatureMethod_PLAINTEXT

Class Overview

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

Located in /qp_plugins/twitter_plugin/twitteroauth/oAuth.php [line 200]

OAuthSignatureMethod
   |
   --OAuthSignatureMethod_PLAINTEXT

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From OAuthSignatureMethod

OAuthSignatureMethod::build_signature()
Build up the signature NOTE: The output of this function MUST NOT be urlencoded.
OAuthSignatureMethod::check_signature()
Verifies that a given signature is correct
OAuthSignatureMethod::get_name()
Needs to return the name of the Signature Method (ie HMAC-SHA1)

[ Top ]
Method Summary
void   build_signature()   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.
void   get_name()   dummy docblock makes error-free autodocs

[ Top ]
Methods
build_signature  [line 221]

  void 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!

Parameters:
   $request: 
   $consumer: 
   $token: 

API Tags:
Access:  public


Redefinition of:
OAuthSignatureMethod::build_signature()
Build up the signature NOTE: The output of this function MUST NOT be urlencoded.

[ Top ]
get_name  [line 206]

  void get_name( )

dummy docblock makes error-free autodocs


API Tags:
Access:  public


Redefinition of:
OAuthSignatureMethod::get_name()
Needs to return the name of the Signature Method (ie HMAC-SHA1)

[ Top ]