Total Complexity | 1 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class Oauth2PersonalAccessTokenGrantFactory extends base\Oauth2BaseGrantTypeFactory implements Oauth2PersonalAccessTokenGrantFactoryInterface |
||
10 | { |
||
11 | /** |
||
12 | * Time To Live for the access token, default value: 1 year. |
||
13 | * The format should be a DateInterval duration (https://www.php.net/manual/en/dateinterval.construct.php). |
||
14 | * @var string |
||
15 | */ |
||
16 | public $accessTokenTTL = 'P1Y'; |
||
17 | |||
18 | /** |
||
19 | * @inheritDoc |
||
20 | */ |
||
21 | 3 | public function getGrantType() |
|
38 |