Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
44 | public function findLoaIdByAuthnContextClassRef($authnContextClassRef) |
||
45 | { |
||
46 | if (!is_string($authnContextClassRef)) { |
||
47 | throw InvalidArgumentException::invalidType( |
||
48 | 'string', |
||
49 | 'authnContextClassRef', |
||
50 | $authnContextClassRef |
||
51 | ); |
||
52 | } |
||
53 | return array_search($authnContextClassRef, $this->loaAuthnContextClassMapping); |
||
54 | } |
||
55 | |||
70 |