"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Http/Client/Auth/Oauth.php" between
cakephp-4.0.1.tar.gz and cakephp-4.0.2.tar.gz

About: CakePHP is a rapid development framework for PHP applications. Source code.

Oauth.php  (cakephp-4.0.1):Oauth.php  (cakephp-4.0.2)
skipping to change at line 91 skipping to change at line 91
if (!$hasKeys) { if (!$hasKeys) {
return $request; return $request;
} }
$value = $this->_plaintext($request, $credentials); $value = $this->_plaintext($request, $credentials);
break; break;
default: default:
throw new Exception(sprintf('Unknown Oauth signature method %s', $credentials['method'])); throw new Exception(sprintf('Unknown Oauth signature method %s', $credentials['method']));
} }
/** @var \Cake\Http\Client\Request */
return $request->withHeader('Authorization', $value); return $request->withHeader('Authorization', $value);
} }
/** /**
* Plaintext signing * Plaintext signing
* *
* This method is **not** suitable for plain HTTP. * This method is **not** suitable for plain HTTP.
* You should only ever use PLAINTEXT when dealing with SSL * You should only ever use PLAINTEXT when dealing with SSL
* services. * services.
* *
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)