Skip to content

Commit 72ae9cc

Browse files
committed
deprecated Api::authorize starting with 0.2.0
1 parent 54a8e2f commit 72ae9cc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/Bitbucket/API/Api.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,11 @@ public function setCredentials(Authentication\AuthenticationInterface $auth)
111111
* @access public
112112
* @param RequestInterface $request
113113
* @return RequestInterface
114+
*
115+
* @deprecated Method deprecated in 0.2.0
114116
*/
115117
public function authorize(RequestInterface $request)
116118
{
117-
if (!is_null($this->auth)) {
118-
$request = $this->auth->authenticate($request);
119-
}
120-
121119
return $request;
122120
}
123121

0 commit comments

Comments
 (0)