blob: f8ced88bacfb3c65cc7d8d0bcf74bdec140ae8f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
namespace Psso;
class ChallengeResult {
public protected(set) string $type;
public protected(set) bool $successful;
public protected(set) ?string $user;
public protected(set) ?string $message;
public function __construct(
string $type,
bool $successful,
?string $user = null,
?string $message = null
) {
$this->type = $type;
$this->successful = $successful;
$this->user = $user;
$this->message = $message;
}
}
|