Documentation

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
global

type $user

Return values
TrustedRedirectResponse

getSubscribedEvents()

This is the event handler main method

public static getSubscribedEvents() : string
Return values
string

checkUserShibbolethRole()

Check the user shibboleth role

private checkUserShibbolethRole() : bool
Return values
bool

loginShibbolethUser()

login the shibboleth user

private loginShibbolethUser(GetResponseEvent &$event) : TrustedRedirectResponse
Parameters
$event : GetResponseEvent
Return values
TrustedRedirectResponse

logOutShibbolethUser()

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

        
On this page

Search results