ImpersonateService
class ImpersonateService (View source)
Impersonate Service
Properties
protected Context | $securityContext | ||
protected SessionInterface | $session | ||
protected PersistenceManagerInterface | $persistenceManager | ||
protected PolicyService | $policyService |
Methods
void
impersonate(Account $account)
No description
void
restoreOriginalIdentity()
No description
Account|null
getImpersonation()
No description
bool
isActive()
No description
Account|null
getCurrentUser()
No description
Account|null
getOriginalIdentity()
No description
array
getOriginalIdentityRoles()
No description
void
refreshTokens(Account $account = null)
No description
void
writeSession(string $key, string|null $value)
No description
mixed
getSessionData(string $key)
No description
Details
void
impersonate(Account $account)
No description
void
restoreOriginalIdentity()
No description
Account|null
getImpersonation()
No description
bool
isActive()
No description
Account|null
getCurrentUser()
No description
Account|null
getOriginalIdentity()
No description
array
getOriginalIdentityRoles()
No description
protected void
refreshTokens(Account $account = null)
No description
protected void
writeSession(string $key, string|null $value)
No description
protected mixed
getSessionData(string $key)
No description