1 | <?php |
||
24 | final class AuthnContextClassRefValidationService |
||
25 | { |
||
26 | /** |
||
27 | * @var LoggerInterface |
||
28 | */ |
||
29 | private $logger; |
||
30 | |||
31 | /** |
||
32 | * @var LoaAliasLookupService |
||
33 | */ |
||
34 | private $loaAliasLookup; |
||
35 | |||
36 | /** |
||
37 | * @var LoaResolutionService |
||
38 | */ |
||
39 | private $loaResolution; |
||
40 | |||
41 | public function __construct( |
||
50 | |||
51 | /** |
||
52 | * @param LoggerInterface $logger |
||
53 | * @return $this |
||
54 | */ |
||
55 | public function with(LoggerInterface $logger) |
||
60 | |||
61 | /** |
||
62 | * Validate that a given ACCR was provided and has a valid LOA alias. |
||
63 | * |
||
64 | * Returns the LOA id. |
||
65 | * |
||
66 | * @param string $authnContextClassRef |
||
67 | * AuthnContextClassRef provided in AuthnRequest. |
||
68 | * |
||
69 | * @return string |
||
70 | * LOA Id |
||
71 | */ |
||
72 | public function validate($authnContextClassRef) { |
||
98 | } |
||
99 |