| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class AccessToken extends Token implements AccessTokenInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $type; |
||
| 22 | |||
| 23 | public function __construct(string $type, string $token, array $scopes, string $clientIdentifier, |
||
| 24 | ?string $resourceOwnerIdentifier, \DateTimeInterface $expiresAt, |
||
| 25 | ?string $authorizationCode = null) |
||
| 26 | { |
||
| 27 | parent::__construct($token, $scopes, $clientIdentifier, $resourceOwnerIdentifier, $expiresAt, $authorizationCode); |
||
| 28 | $this->type = $type; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getType(): string |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return null|string |
||
| 38 | */ |
||
| 39 | public function getRefreshToken(): ?string |
||
| 42 | } |
||
| 43 | } |