| 1 | <?php |
||
| 7 | final class LoaDomain |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $id; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array<string,string> |
||
| 16 | */ |
||
| 17 | private $loaAuthnContextClassMapping; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $id |
||
| 21 | * @param array<string,string> $loaAuthnContextClassMapping |
||
| 22 | */ |
||
| 23 | public function __construct($id, array $loaAuthnContextClassMapping) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $ref |
||
| 31 | * @return string|bool |
||
| 32 | */ |
||
| 33 | public function findLoaIdByAuthnContextClassRef($ref) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param Loa $loa |
||
| 40 | * @return string|bool |
||
| 41 | */ |
||
| 42 | public function findAuthnContextClassRefByLoa(Loa $loa) |
||
| 51 | } |
||
| 52 |