Classes/Flowpack/SingleSignOn/Server/Service/AccountManager.php
public function impersonateAccount(\TYPO3\Flow\Security\Account $account = NULL) {
		if ($this->impersonatedAccount !== $account) {
			$this->impersonatedAccount = $account;

			$this->destroyRegisteredClientSessions();

			$this->emitAccountImpersonated($account);
		}
	}
public function impersonateAccount(\TYPO3\Flow\Security\Account $account = NULL) {
		if ($this->impersonatedAccount !== $account) {
			$this->impersonatedAccount = $account;

			$this->destroyRegisteredClientSessions();

			$this->emitAccountImpersonated($account);
		}
	}
public function impersonateAccount ( \ TYPO3 \ Flow \ Security \ Account $ account = NULL ) { if ( $ this -> impersonatedAccount !== $ account ) { $ this -> impersonatedAccount = $ account ; $ this -> destroyRegisteredClientSessions ( ) ; $ this -> emitAccountImpersonated ( $ account ) ; } }
Impersonate another account

Destroys registered client sessions to force re-authentication.

@param \TYPO3\Flow\Security\Account $account
@return void
Impersonate another account