1 | <?php |
||
8 | final class AuthnContextClassRefLookupService |
||
9 | { |
||
10 | /** |
||
11 | * @var array<string,string> |
||
12 | */ |
||
13 | private $loaAuthnContextClassMapping; |
||
14 | |||
15 | /** |
||
16 | * @param array<string,string> $loaAuthnContextClassMapping |
||
17 | */ |
||
18 | public function __construct(array $loaAuthnContextClassMapping) |
||
39 | |||
40 | /** |
||
41 | * @param string $authnContextClassRef |
||
42 | * @return string|bool |
||
43 | */ |
||
44 | public function findLoaIdByAuthnContextClassRef($authnContextClassRef) |
||
55 | |||
56 | /** |
||
57 | * @param Loa $loa |
||
58 | * @return string|bool |
||
59 | */ |
||
60 | public function findAuthnContextClassRefByLoa(Loa $loa) |
||
69 | } |
||
70 |