Completed
Push — develop ( 112c74...31322a )
by Nate
10:28
created

SelfConsumable::claim()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 0
Metric Value
dl 0
loc 8
ccs 0
cts 7
cp 0
rs 10
c 0
b 0
f 0
cc 2
nc 2
nop 1
crap 6
1
<?php
2
3
/**
4
 * @copyright  Copyright (c) Flipbox Digital Limited
5
 * @license    https://flipboxfactory.com/software/jwt/license
6
 * @link       https://www.flipboxfactory.com/jwt/organization/
7
 */
8
9
namespace flipbox\craft\jwt\services;
10
11
use flipbox\craft\jwt\helpers\TokenHelper;
12
13
/**
14
 * @deprecated - Use the Identity class
15
 */
16
class SelfConsumable extends Identity
17
{
18
    /**
19
     * The CSRF claim identifier
20
     * @deprecated
21
     */
22
    const CLAIM_CSRF = TokenHelper::CLAIM_CSRF;
23
24
    /**
25
     * The Audience claim identifier
26
     * @deprecated
27
     */
28
    const CLAIM_AUDIENCE = TokenHelper::CLAIM_AUDIENCE;
29
30
    /**
31
     * The Issuer claim identifier
32
     * @deprecated
33
     */
34
    const CLAIM_ISSUER = TokenHelper::CLAIM_ISSUER;
35
36
    /**
37
     * The Identity claim identifier
38
     * @deprecated
39
     */
40
    const CLAIM_IDENTITY = TokenHelper::CLAIM_IDENTITY;
41
}
42