[ class tree: core ] [ index: core ] [ all elements ]

Class: OAuthSignatureMethod_PLAINTEXT

Source Location: /zp-extensions/common/oAuth/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 /zp-extensions/common/oAuth/OAuth.php [line 125]

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

[ Top ]
Methods
build_signature  [line 139]

  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 126]

  void get_name( )


API Tags:
Access:  public


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

[ Top ]

Documentation generated on Sat, 07 Jun 2014 18:03:40 +0200 by phpDocumentor 1.4.3