Completed
Push — master ( a9ae05...9e23ea )
by Derek Stephen
02:50
created

AuthCodeRepository::isAuthCodeRevoked()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
cc 1
eloc 1
nc 1
nop 1
crap 2
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
}