PHP Class PayPal\Auth\Oauth\OAuthUtil

Show file Open project: paypal/sdk-core-php Class Usage Examples

Public Methods

Method Description
build_http_query ( $params )
get_headers ( ) helper to try to sort out headers for people who aren't running apache
parseQueryString ( $str )
parse_parameters ( $input ) array('a' => array('b','c'), 'd' => 'e')
split_header ( $header, $only_allow_oauth_parameters = true ) see http://code.google.com/p/oauth/issues/detail?id=163
urldecode_rfc3986 ( $string ) seem to be used anywhere so leaving it as is.
urlencode_rfc3986 ( $input )

Method Details

build_http_query() public static method

public static build_http_query ( $params )

get_headers() public static method

helper to try to sort out headers for people who aren't running apache
public static get_headers ( )

parseQueryString() public static method

public static parseQueryString ( $str )

parse_parameters() public static method

array('a' => array('b','c'), 'd' => 'e')
public static parse_parameters ( $input )

split_header() public static method

see http://code.google.com/p/oauth/issues/detail?id=163
public static split_header ( $header, $only_allow_oauth_parameters = true )

urldecode_rfc3986() public static method

seem to be used anywhere so leaving it as is.
public static urldecode_rfc3986 ( $string )

urlencode_rfc3986() public static method

public static urlencode_rfc3986 ( $input )