Home
last modified time | relevance | path

Searched refs:userSession (Results 1 – 25 of 441) sorted by relevance

12345678910>>...18

/dports/www/nextcloud/nextcloud/apps-pkg/dav/lib/Connector/Sabre/
H A DAuth.php56 private $userSession; variable in OCA\\DAV\\Connector\\Sabre\\Auth
68 * @param Session $userSession
75 Session $userSession, argument
81 $this->userSession = $userSession;
120 if ($this->userSession->isLoggedIn() &&
123 \OC_Util::setupFS($this->userSession->getUser()->getUID());
186 if (!$this->userSession->isLoggedIn()) {
196 if ($this->userSession->isLoggedIn() &&
225 $this->userSession->logout();
237 $user = $this->userSession->getUser()->getUID();
[all …]
H A DBearerAuth.php35 private $userSession; variable in OCA\\DAV\\Connector\\Sabre\\BearerAuth
44 * @param IUserSession $userSession
49 public function __construct(IUserSession $userSession, argument
53 $this->userSession = $userSession;
75 if (!$this->userSession->isLoggedIn()) {
76 $this->userSession->tryTokenLogin($this->request);
78 if ($this->userSession->isLoggedIn()) {
79 return $this->setupUserFs($this->userSession->getUser()->getUID());
/dports/www/owncloud/owncloud/apps/dav/lib/Connector/Sabre/
H A DAuth.php56 private $userSession; variable in OCA\\DAV\\Connector\\Sabre\\Auth
70 * @param Session $userSession
79 Session $userSession, argument
87 $this->userSession = $userSession;
129 if ($this->userSession->isLoggedIn() &&
197 if (!$this->userSession->isLoggedIn()) {
202 if ($this->userSession->isLoggedIn() &&
227 $this->userSession->logout();
238 $user = $this->userSession->getUser();
249 $user = $this->userSession->getUser();
[all …]
/dports/www/owncloud/owncloud/settings/Panels/Personal/
H A DProfile.php42 protected $userSession; variable in OC\\Settings\\Panels\\Personal\\Profile
56 * @param IUserSession $userSession
63 IUserSession $userSession, argument
69 $this->userSession = $userSession;
80 $this->userSession->getUser()->getUID(),
99 $tmpl->assign('email', $this->userSession->getUser()->getEMailAddress());
100 $tmpl->assign('displayName', $this->userSession->getUser()->getDisplayName());
102 $tmpl->assign('avatarChangeSupported', $this->userSession->getUser()->canChangeAvatar());
103 …$tmpl->assign('displayNameChangeSupported', $this->userSession->getUser()->canChangeDisplayName());
104 $tmpl->assign('passwordChangeSupported', $this->userSession->getUser()->canChangePassword());
[all …]
/dports/www/nextcloud/nextcloud/core/Middleware/
H A DTwoFactorMiddleware.php51 private $userSession; variable in OC\\Core\\Middleware\\TwoFactorMiddleware
67 * @param Session $userSession
71 public function __construct(Manager $twoFactorManager, Session $userSession, ISession $session, argument
74 $this->userSession = $userSession;
98 && $this->userSession->getUser() !== null
100 $providers = $this->twoFactorManager->getProviderSet($this->userSession->getUser());
108 && $this->userSession->getUser() !== null
109 && $this->twoFactorManager->needsSecondFactor($this->userSession->getUser())) {
110 $providers = $this->twoFactorManager->getProviderSet($this->userSession->getUser());
122 if ($this->userSession->isLoggedIn()) {
[all …]
/dports/www/owncloud/owncloud/apps/firstrunwizard/lib/
H A Dconfig.php43 protected $userSession; variable in OCA\\FirstRunWizard\\Config
47 * @param IUserSession $userSession
49 public function __construct(IConfig $config, IUserSession $userSession) { argument
51 $this->userSession = $userSession;
58 $user = $this->userSession->getUser();
68 $user = $this->userSession->getUser();
79 $user = $this->userSession->getUser();
/dports/www/typo3-11/typo3_src-11.5.7/typo3/sysext/core/Classes/Authentication/
H A DAbstractUserAuthentication.php209 protected ?UserSession $userSession = null; variable in TYPO3\\CMS\\Core\\Authentication\\AbstractUserAuthentication
464 if (!$this->userSession->isNew()) {
759 …$this->userSession = $this->userSessionManager->regenerateSession($this->userSession->getIdentifie…
819 $this->userSession = $session;
852 … $this->userSession = $this->userSessionManager->updateSessionTimestamp($this->userSession);
906 if ($this->userSession) {
1096 return $this->userSession ? $this->userSession->get($key) : '';
1108 $this->userSession->set($key, $data);
1120 $this->userSession->set($key, $data);
1122 $this->userSession = $this->userSessionManager->updateSession($this->userSession);
[all …]
/dports/www/nextcloud/nextcloud/lib/private/Authentication/Login/
H A DCreateSessionTokenCommand.php40 private $userSession; variable in OC\\Authentication\\Login\\CreateSessionTokenCommand
43 Session $userSession) { argument
45 $this->userSession = $userSession;
56 $this->userSession->createSessionToken(
63 $this->userSession->updateTokens(
68 $this->userSession->createSessionToken(
75 $this->userSession->updateTokens(
/dports/security/nextcloud-twofactor_u2f/twofactor_u2f/lib/Controller/
H A DSettingsController.php31 private $userSession; variable in OCA\\TwoFactorU2F\\Controller\\SettingsController
33 …n __construct(string $appName, IRequest $request, U2FManager $manager, IUserSession $userSession) { argument
36 $this->userSession = $userSession;
44 'devices' => $this->manager->getDevices($this->userSession->getUser())
54 return new JSONResponse($this->manager->startRegistration($this->userSession->getUser()));
66 …return new JSONResponse($this->manager->finishRegistration($this->userSession->getUser(), $registr…
76 return new JSONResponse($this->manager->removeDevice($this->userSession->getUser(), $id));
/dports/www/typo3-11/typo3_src-11.5.7/typo3/sysext/frontend/Classes/Authentication/
H A DFrontendUserAuthentication.php194 return ($this->userSession->isNew() || $this->forceSetCookie)
195 && ((int)$this->lifetime === 0 || !$this->userSession->isPermanent());
206 return $this->lifetime > 0 && $this->userSession->isPermanent();
254 $this->userSession,
397 if ($this->userSession->dataWasUpdated()) {
398 if (!$this->userSession->hasData()) {
407 …$this->userSession = $this->userSessionManager->fixateAnonymousSession($this->userSession, (bool)$…
412 $this->userSession = $this->userSessionManager->updateSession($this->userSession);
422 $this->userSession->overrideData([]);
426 $this->userSessionManager->removeSession($this->userSession);
[all …]
/dports/www/kanboard/kanboard-1.2.21/app/Helper/
H A DUserHelper.php23 return $this->userSession->hasSubtaskListActivated();
34 return $this->userUnreadNotificationModel->hasNotifications($this->userSession->getId());
63 $user = empty($user) ? $this->userSession->getAll() : $user;
75 return $this->userSession->getId();
86 return $this->userSession->getId() == $user_id;
97 return $this->userSession->isAdmin();
109 return $this->role->getRoleName($role ?: $this->userSession->getRole());
147 if (! $this->userSession->isLogged()) {
155 … = $this->applicationAuthorization->isAllowed($controller, $action, $this->userSession->getRole());
/dports/www/owncloud/owncloud/apps/dav/lib/SystemTag/
H A DSystemTagsByIdCollection.php50 private $userSession; variable in OCA\\DAV\\SystemTag\\SystemTagsByIdCollection
56 * @param IUserSession $userSession
61 IUserSession $userSession, argument
65 $this->userSession = $userSession;
75 $user = $this->userSession->getUser();
105 if (!$this->tagManager->canUserSeeTag($tag, $this->userSession->getUser())) {
128 $user = $this->userSession->getUser();
149 if (!$this->tagManager->canUserSeeTag($tag, $this->userSession->getUser())) {
189 …return new SystemTagNode($tag, $this->userSession->getUser(), $this->isAdmin(), $this->tagManager);
/dports/security/nextcloud-twofactor_webauthn/twofactor_webauthn/lib/Controller/
H A DSettingsController.php57 private $userSession; variable in OCA\\TwoFactorWebauthn\\Controller\\SettingsController
61 …t($AppName, IRequest $request, WebauthnManager $manager, IUserSession $userSession, ILogger $logge… argument
65 $this->userSession = $userSession;
77 …return new JSONResponse($this->manager->startRegistration($this->userSession->getUser(), $this->re…
86 …return new JSONResponse($this->manager->finishRegister($this->userSession->getUser(), $name, $data…
94 return new JSONResponse($this->manager->removeDevice($this->userSession->getUser(), $id));
103 …return new JSONResponse($this->manager->changeActivationState($this->userSession->getUser(), $id, …
/dports/www/nextcloud/nextcloud/core/Controller/
H A DContactsMenuController.php40 private $userSession; variable in OC\\Core\\Controller\\ContactsMenuController
44 * @param IUserSession $userSession
47 public function __construct(IRequest $request, IUserSession $userSession, Manager $manager) { argument
49 $this->userSession = $userSession;
60 return $this->manager->getEntries($this->userSession->getUser(), $filter);
71 $contact = $this->manager->findOne($this->userSession->getUser(), $shareType, $shareWith);
H A DCollaborationResourcesController.php48 private $userSession; variable in OC\\Core\\Controller\\CollaborationResourcesController
56 IUserSession $userSession, argument
62 $this->userSession = $userSession;
72 $collection = $this->manager->getCollectionForUser($collectionId, $this->userSession->getUser());
74 if (!$collection->canAccess($this->userSession->getUser())) {
105 $collections = $this->manager->searchCollections($this->userSession->getUser(), $filter);
130 if (!$resource->canAccess($this->userSession->getUser())) {
182 if (!$resource->canAccess($this->userSession->getUser())) {
208 if (!$resource->canAccess($this->userSession->getUser())) {
264 if (!$collection->canAccess($this->userSession->getUser())) {
[all …]
/dports/www/nextcloud/nextcloud/apps-pkg/files_external/lib/Service/
H A DUserLegacyStoragesService.php35 private $userSession; variable in OCA\\Files_External\\Service\\UserLegacyStoragesService
39 * @param IUserSession $userSession
41 public function __construct(BackendService $backendService, IUserSession $userSession) { argument
43 $this->userSession = $userSession;
53 $user = $this->userSession->getUser()->getUID();
/dports/www/owncloud/owncloud/core/Controller/
H A DLoginController.php55 private $userSession; variable in OC\\Core\\Controller\\LoginController
72 * @param Session $userSession
82 Session $userSession, argument
91 $this->userSession = $userSession;
108 $this->userSession->logout();
125 if (\OC_User::handleApacheAuth() || $this->userSession->isLoggedIn()) {
191 ($this->userSession->isLoggedIn() === false) &&
237 $loginResult = $this->userSession->login($user, $password);
243 $loginResult = $this->userSession->login($user, $password);
262 $userObject = $this->userSession->getUser();
[all …]
/dports/www/nextcloud/nextcloud/apps-pkg/dav/lib/SystemTag/
H A DSystemTagsByIdCollection.php52 private $userSession; variable in OCA\\DAV\\SystemTag\\SystemTagsByIdCollection
58 * @param IUserSession $userSession
63 IUserSession $userSession, argument
67 $this->userSession = $userSession;
77 $user = $this->userSession->getUser();
107 if (!$this->tagManager->canUserSeeTag($tag, $this->userSession->getUser())) {
137 if (!$this->tagManager->canUserSeeTag($tag, $this->userSession->getUser())) {
177 …return new SystemTagNode($tag, $this->userSession->getUser(), $this->isAdmin(), $this->tagManager);
/dports/www/owncloud/owncloud/apps/files_external/lib/Controller/
H A DUserGlobalStoragesController.php49 private $userSession; variable in OCA\\Files_External\\Controller\\UserGlobalStoragesController
58 * @param IUserSession $userSession
65 IUserSession $userSession, argument
75 $this->userSession = $userSession;
104 $authMechanism->manipulateStorageConfig($storage, $this->userSession->getUser());
107 $backend->manipulateStorageConfig($storage, $this->userSession->getUser());
162 $authMechanism->saveBackendOptions($this->userSession->getUser(), $id, $backendOptions);
164 $authMechanism->manipulateStorageConfig($storage, $this->userSession->getUser());
202 $storage->getAuthMechanism()->manipulateStorageConfig($storage, $this->userSession->getUser());
/dports/www/nextcloud/nextcloud/apps-pkg/activity/lib/
H A DCurrentUser.php34 protected $userSession; variable in OCA\\Activity\\CurrentUser
48 * @param IUserSession $userSession
52 public function __construct(IUserSession $userSession, IRequest $request, IManager $shareManager) { argument
53 $this->userSession = $userSession;
61 return $this->userSession->getUser();
91 $user = $this->userSession->getUser();
108 $user = $this->userSession->getUser();
/dports/www/typo3-11/typo3_src-11.5.7/typo3/sysext/core/Classes/Session/
H A DUserSession.php226 $userSession = new self(
232 $userSession->ipLock = $record['ses_iplock'] ?? '';
233 $userSession->isNew = $markAsNew;
235 $userSession->isPermanent = (bool)$record['ses_permanent'];
237 return $userSession;
249 $userSession = new self($identifier, 0, $GLOBALS['EXEC_TIME'], []);
250 $userSession->isPermanent = false;
251 $userSession->isNew = true;
252 return $userSession;
/dports/www/nextcloud/nextcloud/apps-pkg/dav/lib/Upload/
H A DCleanupService.php34 private $userSession; variable in OCA\\DAV\\Upload\\CleanupService
38 public function __construct(IUserSession $userSession, IJobList $jobList) { argument
39 $this->userSession = $userSession;
44 …$this->jobList->add(UploadCleanup::class, ['uid' => $this->userSession->getUser()->getUID(), 'fold…
48 …$this->jobList->remove(UploadCleanup::class, ['uid' => $this->userSession->getUser()->getUID(), 'f…
/dports/www/owncloud/owncloud/lib/private/
H A DTagManager.php48 private $userSession; variable in OC\\TagManager
63 public function __construct(TagMapper $mapper, \OCP\IUserSession $userSession) { argument
65 $this->userSession = $userSession;
81 $user = $this->userSession->getUser();
86 $userId = $this->userSession->getUser()->getUId();
/dports/www/owncloud/owncloud/apps/dav/lib/TrashBin/
H A DRootCollection.php33 protected $userSession; variable in OCA\\DAV\\TrashBin\\RootCollection
45 * @param IUserSession $userSession
48 …public function __construct(BackendInterface $principalBackend, IUserSession $userSession, $princi… argument
50 $this->userSession = $userSession;
66 $sessionUser = $this->userSession->getUser();
/dports/www/nextcloud/nextcloud/apps-pkg/systemtags/lib/Controller/
H A DLastUsedController.php38 protected $userSession; variable in OCA\\SystemTags\\Controller\\LastUsedController
44 * @param IUserSession $userSession
46 …lic function __construct($appName, IRequest $request, IConfig $config, IUserSession $userSession) { argument
49 $this->userSession = $userSession;
56 …$lastUsed = $this->config->getUserValue($this->userSession->getUser()->getUID(), 'systemtags', 'la…

12345678910>>...18