AcdhRepoGuiEventSubscriber
in package
implements
EventSubscriberInterface
Table of Contents
Interfaces
- EventSubscriberInterface
Methods
- checkForShibboleth() : TrustedRedirectResponse
- Check the shibboleth user logins
- getSubscribedEvents() : string
- This is the event handler main method
- setupMainClasses() : mixed
- checkUserShibbolethRole() : bool
- Check the user shibboleth role
- loginShibbolethUser() : TrustedRedirectResponse
- login the shibboleth user
- logOutShibbolethUser() : void
- logout the shibboleth user if we dont have a HTTP_EPPN value
- logoutShibbolethUserManually() : void
- If the user clicks the logout button
Methods
checkForShibboleth()
Check the shibboleth user logins
public
checkForShibboleth(GetResponseEvent $event) : TrustedRedirectResponse
Parameters
- $event : GetResponseEvent
Tags
Return values
TrustedRedirectResponsegetSubscribedEvents()
This is the event handler main method
public
static getSubscribedEvents() : string
Return values
stringsetupMainClasses()
public
setupMainClasses() : mixed
checkUserShibbolethRole()
Check the user shibboleth role
private
checkUserShibbolethRole() : bool
Return values
boolloginShibbolethUser()
login the shibboleth user
private
loginShibbolethUser(GetResponseEvent &$event) : TrustedRedirectResponse
Parameters
- $event : GetResponseEvent
Return values
TrustedRedirectResponselogOutShibbolethUser()
logout the shibboleth user if we dont have a HTTP_EPPN value
private
logOutShibbolethUser() : void
logoutShibbolethUserManually()
If the user clicks the logout button
private
logoutShibbolethUserManually(GetResponseEvent &$event) : void
Parameters
- $event : GetResponseEvent