Skip to content

class Twitter_OAuthSignatureMethod_HMAC_SHA1

Oliver edited this page Apr 25, 2020 · 1 revision

www/includes/twitter-php/OAuth.php


Twitter_OAuthSignatureMethod_HMAC_SHA1

  • Chapter 9.2 ("HMAC-SHA1")

Package

Default

Overview

Public Properties

No public properties found

Constants

No constants found

Public Methods

build_signature() | check_signature() | get_name() |

Methods

build_signature()

Build up the signature NOTE: The output of this function MUST NOT be urlencoded.

the encoding is handled in OAuthRequest when the final request is serialized

public build_signature(mixed $request, mixed $consumer, mixed $token) : string

check_signature()

Verifies that a given signature is correct

public check_signature(\Twitter_OAuthRequest $request, \Twitter_OAuthConsumer $consumer, \Twitter_OAuthToken $token, string $signature) : bool

get_name()

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

public get_name() : string


\ » Classes » Twitter_OAuthSignatureMethod_HMAC_SHA1

Clone this wiki locally