|
static | urlencode ( $input) |
|
static | urldecode ( $string) |
|
static | splitHeader ( $header, $oauthOnly=true) |
| Utility function for turning the Authorization: header into parameters, has to do some unescaping Can filter out any non-oauth parameters if needed (default behaviour)
|
|
static | getHeaders () |
|
static | parseParameters ( $input) |
| This function takes a input like a=b&a=c&d=e and returns the parsed parameters like this array('a' => array('b','c'), 'd' => 'e')
|
|
static | buildHttpQuery (array $params) |
|
◆ buildHttpQuery()
static MediaWiki\OAuthClient\Util::buildHttpQuery |
( |
array |
$params | ) |
|
|
static |
◆ getHeaders()
static MediaWiki\OAuthClient\Util::getHeaders |
( |
| ) |
|
|
static |
◆ parseParameters()
static MediaWiki\OAuthClient\Util::parseParameters |
( |
|
$input | ) |
|
|
static |
This function takes a input like a=b&a=c&d=e and returns the parsed parameters like this array('a' => array('b','c'), 'd' => 'e')
- Parameters
-
- Returns
- array
◆ splitHeader()
static MediaWiki\OAuthClient\Util::splitHeader |
( |
|
$header, |
|
|
|
$oauthOnly = true |
|
) |
| |
|
static |
Utility function for turning the Authorization: header into parameters, has to do some unescaping Can filter out any non-oauth parameters if needed (default behaviour)
- Parameters
-
string | $header | |
bool | $oauthOnly | |
- Returns
- array
◆ urldecode()
static MediaWiki\OAuthClient\Util::urldecode |
( |
|
$string | ) |
|
|
static |
◆ urlencode()
static MediaWiki\OAuthClient\Util::urlencode |
( |
|
$input | ) |
|
|
static |
- Parameters
-
- Returns
- string|string[]
The documentation for this class was generated from the following file: