Skip to content

Commit

Permalink
makes privateKeyFile mandatory for RSA-SHA1 method
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFRedFox committed May 27, 2016
1 parent 12a0760 commit bedc932
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Network/Http/Auth/Oauth.php
Expand Up @@ -61,6 +61,9 @@ public function authentication(Request $request, array $credentials)
break;

case 'RSA-SHA1':
if (!isset($credentials['privateKeyFile'])) {
return;
}
$value = $this->_rsaSha1($request, $credentials);
break;

Expand Down

0 comments on commit bedc932

Please sign in to comment.