summaryrefslogtreecommitdiffstats
path: root/core/Data/LoginFlowV2Tokens.php
blob: 278c18f3b5644292d49e03301d358b630eb13bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?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;
	}
}