1
0
Fork 0

Move "submanage" Session value into own methods

This commit is contained in:
Philipp Holzer 2022-10-21 19:33:28 +02:00
commit 44a9683008
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
8 changed files with 37 additions and 11 deletions

View file

@ -72,6 +72,20 @@ interface IHandleUserSessions
*/
public function isAuthenticated(): bool;
/**
* Returns User ID of the managed user in case it's a different identity
*
* @return int|bool uid of the manager or false
*/
public function getSubManagedUserId();
/**
* Sets the User ID of the managed user in case it's a different identity
*
* @param int $managed_uid The user id of the managing user
*/
public function setSubManagedUserId(int $managed_uid): void;
/**
* Set the session variable that contains the contact IDs for the visitor's contact URL
*