Fake   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 46
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 1
dl 0
loc 46
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
A getRequestTokenEndpoint() 0 3 1
A getAuthorizationEndpoint() 0 3 1
A getAccessTokenEndpoint() 0 3 1
A parseRequestTokenResponse() 0 3 1
A parseAccessTokenResponse() 0 3 1
1
<?php
2
3
namespace OAuthTest\Mocks\OAuth1\Service;
4
5
use OAuth\Common\Consumer\CredentialsInterface;
6
use OAuth\Common\Http\Client\ClientInterface;
7
use OAuth\Common\Http\Uri\UriInterface;
8
use OAuth\Common\Storage\TokenStorageInterface;
9
use OAuth\OAuth1\Service\AbstractService;
10
use OAuth\OAuth1\Signature\SignatureInterface;
11
12
class Fake extends AbstractService
13
{
14
    public function __construct(
15
        CredentialsInterface $credentials,
16
        ClientInterface $httpClient,
17
        TokenStorageInterface $storage,
18
        SignatureInterface $signature,
19
        ?UriInterface $baseApiUri = null
20
    ) {
21
    }
22
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function getRequestTokenEndpoint(): void
27
    {
28
    }
29
30
    /**
31
     * {@inheritdoc}
32
     */
33
    public function getAuthorizationEndpoint(): void
34
    {
35
    }
36
37
    /**
38
     * {@inheritdoc}
39
     */
40
    public function getAccessTokenEndpoint(): void
41
    {
42
    }
43
44
    /**
45
     * {@inheritdoc}
46
     */
47
    protected function parseRequestTokenResponse($responseBody): void
48
    {
49
    }
50
51
    /**
52
     * {@inheritdoc}
53
     */
54
    protected function parseAccessTokenResponse($responseBody): void
55
    {
56
    }
57
}
58