Total Complexity | 3 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class SignedIn |
||
14 | { |
||
15 | /** |
||
16 | * The signed-up user. |
||
17 | * |
||
18 | * @var Saml2User |
||
19 | */ |
||
20 | public $user; |
||
21 | |||
22 | /** |
||
23 | * The authentication handler. |
||
24 | * |
||
25 | * @var Auth |
||
26 | */ |
||
27 | public $auth; |
||
28 | |||
29 | /** |
||
30 | * LoggedIn constructor. |
||
31 | * |
||
32 | * @param Saml2User $user |
||
33 | * @param Auth $auth |
||
34 | */ |
||
35 | public function __construct(Saml2User $user, Auth $auth) |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Get the authentication handler for a SAML sign in attempt |
||
43 | * |
||
44 | * @return Auth The authentication handler for the SignedIn event |
||
45 | */ |
||
46 | public function getAuth(): Auth |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * Get the user represented in the SAML sign in attempt |
||
53 | * |
||
54 | * @return Saml2User The user for the SignedIn event |
||
55 | */ |
||
56 | public function getSaml2User(): Saml2User |
||
61 |