File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545use OCP \Security \ICrypto ;
4646use OCP \Security \ITrustedDomainHelper ;
4747use OCP \Server ;
48+ use OCP \User \Events \UserLoggedInEvent ;
49+ use OCP \User \Events \UserLoggedOutEvent ;
4850use OneLogin \Saml2 \Auth ;
4951use OneLogin \Saml2 \Error ;
5052use OneLogin \Saml2 \Settings ;
@@ -94,7 +96,8 @@ public function __construct(
9496 UserResolver $ userResolver ,
9597 UserData $ userData ,
9698 ICrypto $ crypto ,
97- ITrustedDomainHelper $ trustedDomainHelper
99+ ITrustedDomainHelper $ trustedDomainHelper ,
100+ IEventDispatcher $ eventDispatcher
98101 ) {
99102 parent ::__construct ($ appName , $ request );
100103 $ this ->session = $ session ;
@@ -109,6 +112,7 @@ public function __construct(
109112 $ this ->userData = $ userData ;
110113 $ this ->crypto = $ crypto ;
111114 $ this ->trustedDomainHelper = $ trustedDomainHelper ;
115+ $ this ->eventDispatcher = $ eventDispatcher ;
112116 }
113117
114118 /**
You can’t perform that action at this time.
0 commit comments