You are here

public function OAuthSignatureMethod_PLAINTEXT::get_name in OAuth 1.0 7.3

Same name and namespace in other branches
  1. 6.3 lib/OAuth.php \OAuthSignatureMethod_PLAINTEXT::get_name()
  2. 6 OAuth.php \OAuthSignatureMethod_PLAINTEXT::get_name()

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

Return value

string

Overrides OAuthSignatureMethod::get_name

File

lib/OAuth.php, line 155
OAuth 1.0 server and client library.

Class

OAuthSignatureMethod_PLAINTEXT
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.

Code

public function get_name() {
  return "PLAINTEXT";
}