Completed
Push — master ( 24ab37...36f73c )
by Derek Stephen
01:35
created

AuthCodeRepository::getAuthorizationCode()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 12
Code Lines 8

Duplication

Lines 12
Ratio 100 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 0
Metric Value
dl 12
loc 12
ccs 0
cts 11
cp 0
rs 9.4285
c 0
b 0
f 0
cc 2
eloc 8
nc 2
nop 1
crap 6

1 Method

Rating   Name   Duplication   Size   Complexity  
A AuthCodeRepository::persistNewAuthCode() 0 4 1
1
<?php
2
3
namespace OAuth\Repository;
4
5
use Doctrine\ORM\EntityRepository;
6
use League\OAuth2\Server\Entities\AuthCodeEntityInterface;
7
use League\OAuth2\Server\Repositories\AuthCodeRepositoryInterface;
8
9
class AuthCodeRepository extends EntityRepository implements AuthCodeRepositoryInterface
10
{
11
    /**
12
     * @return mixed
13
     */
14
    public function getNewAuthCode()
15
    {
16
        // TODO: Implement getNewAuthCode() method.
17
    }
18
19
    /**
20
     * @param AuthCodeEntityInterface $authCodeEntity
21
     * @return mixed
22
     */
23
    public function persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity)
24
    {
25
        // TODO: Implement persistNewAuthCode() method.
26
    }
27
28
    /**
29
     * @param string $codeId
30
     * @return mixed
31
     */
32
    public function revokeAuthCode($codeId)
33
    {
34
        // TODO: Implement revokeAuthCode() method.
35
    }
36
37
    /**
38
     * @param string $codeId
39
     * @return mixed
40
     */
41
    public function isAuthCodeRevoked($codeId)
42
    {
43
        // TODO: Implement isAuthCodeRevoked() method.
44
    }
45
}