1
0

LoginFlowV2Tokens.php 459 B

12345678910111213141516171819202122232425
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OC\Core\Data;
  8. class LoginFlowV2Tokens {
  9. public function __construct(
  10. private string $loginToken,
  11. private string $pollToken,
  12. ) {
  13. }
  14. public function getPollToken(): string {
  15. return $this->pollToken;
  16. }
  17. public function getLoginToken(): string {
  18. return $this->loginToken;
  19. }
  20. }