File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
lib/Bitbucket/API/Http/Listener Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * This file is part of the bitbucket-api package.
5+ *
6+ * (c) Alexandru G. <alex@gentle.ro>
7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ */
11+
12+ namespace Bitbucket \API \Http \Listener ;
13+
14+ use Buzz \Message \MessageInterface ;
15+ use Buzz \Message \RequestInterface ;
16+
17+ /**
18+ * @author Alexandru G. <alex@gentle.ro>
19+ */
20+ class OAuthListener implements ListenerInterface
21+ {
22+ /**
23+ * {@inheritDoc}
24+ */
25+ public function getName ()
26+ {
27+ return 'oauth ' ;
28+ }
29+
30+ /**
31+ * {@inheritDoc}
32+ */
33+ public function preSend (RequestInterface $ request )
34+ {}
35+
36+ /**
37+ * {@inheritDoc}
38+ */
39+ public function postSend (RequestInterface $ request , MessageInterface $ response )
40+ {}
41+ }
You can’t perform that action at this time.
0 commit comments