mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
25 lines
459 B
PHP
25 lines
459 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OC\Core\Data;
|
|
|
|
class LoginFlowV2Tokens {
|
|
public function __construct(
|
|
private string $loginToken,
|
|
private string $pollToken,
|
|
) {
|
|
}
|
|
|
|
public function getPollToken(): string {
|
|
return $this->pollToken;
|
|
}
|
|
|
|
public function getLoginToken(): string {
|
|
return $this->loginToken;
|
|
}
|
|
}
|