Completed
Push — master ( 29bda6...e00326 )
by David
9s
created

Fake   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 26
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getAuthorizationEndpoint() 0 3 1
A getAccessTokenEndpoint() 0 3 1
A parseAccessTokenResponse() 0 3 1
1
<?php
2
3
namespace OAuthTest\Mocks\OAuth2\Service;
4
5
use OAuth\OAuth2\Service\AbstractService;
6
7
class Fake extends AbstractService
8
{
9
    const SCOPE_FOO    = 'https://www.pieterhordijk.com/auth';
10
    const SCOPE_CUSTOM = 'custom';
11
12
    /**
13
     * {@inheritdoc}
14
     */
15
    public function getAuthorizationEndpoint()
16
    {
17
    }
18
19
    /**
20
     * {@inheritdoc}
21
     */
22
    public function getAccessTokenEndpoint()
23
    {
24
    }
25
26
    /**
27
     * {@inheritdoc}
28
     */
29
    protected function parseAccessTokenResponse($responseBody)
30
    {
31
    }
32
}
33