PHP Class Jetpack_Signature, jetpack

Mostra file Open project: automattic/jetpack Class Usage Examples

Public Properties

Property Type Description
$secret
$token

Public Methods

Method Description
__construct ( $access_token, $time_diff )
encode_3986 ( $string )
join_with_equal_sign ( $name, $value )
normalized_query_parameters ( $query_string )
sign_current_request ( $override = [] )
sign_request ( $token = '', $timestamp, $nonce = '', $body_hash = '', $method = '', $url = '', $body = null, $verify_body_hash = true ) body_hash v. body-hash is annoying. Refactor to accept an array?

Method Details

__construct() public method

public __construct ( $access_token, $time_diff )

encode_3986() public method

public encode_3986 ( $string )

join_with_equal_sign() public method

public join_with_equal_sign ( $name, $value )

normalized_query_parameters() public method

public normalized_query_parameters ( $query_string )

sign_current_request() public method

public sign_current_request ( $override = [] )

sign_request() public method

body_hash v. body-hash is annoying. Refactor to accept an array?
public sign_request ( $token = '', $timestamp, $nonce = '', $body_hash = '', $method = '', $url = '', $body = null, $verify_body_hash = true )

Property Details

$secret public_oe property

public $secret

$token public_oe property

public $token