@@ 627-634 (lines=8) @@ | ||
624 | * |
|
625 | * @return int |
|
626 | */ |
|
627 | protected function setUpTokenValue(TokenInterface $token): int |
|
628 | { |
|
629 | list($tokenValue, $tokenType, $tokenExpiresIn) = |
|
630 | $this->getIntegration()->generateTokenValues($token); |
|
631 | $token->setValue($tokenValue)->setType($tokenType); |
|
632 | ||
633 | return $tokenExpiresIn; |
|
634 | } |
|
635 | ||
636 | /** |
|
637 | * @param TokenInterface $token |
|
@@ 641-648 (lines=8) @@ | ||
638 | * |
|
639 | * @return int |
|
640 | */ |
|
641 | protected function setUpTokenValues(TokenInterface $token): int |
|
642 | { |
|
643 | list($tokenValue, $tokenType, $tokenExpiresIn, $refreshValue) = |
|
644 | $this->getIntegration()->generateTokenValues($token); |
|
645 | $token->setValue($tokenValue)->setType($tokenType)->setRefreshValue($refreshValue); |
|
646 | ||
647 | return $tokenExpiresIn; |
|
648 | } |
|
649 | ||
650 | /** |
|
651 | * @return PassportServerIntegrationInterface |