latest
User Guide
Developer Guide
Cookbooks
Best Practices
Reference
Modules
Actions
Controllers
Filters
Tags
Global template variables
Models
Validators
Notifications
ACL notifications
Authentication notifications
auth_checked
auth_confirm
auth_confirm_done
auth_client_logon_user
auth_client_switch_user
auth_logon
auth_logoff
auth_options_update
auth_postcheck
auth_precheck
auth_reset
auth_validate
auth_validated
Dispatch notifications
Edge notifications
E-mail notifications
Import/export notifications
Media notifications
Pivot notifications
Resource notifications
Survey notifications
User notifications
Other notifications
Installation requirements
Configuration
Command-line
EDoc reference
Glossary
Zotonic
Docs
»
Reference
»
Notifications
»
Authentication notifications
»
auth_client_switch_user
Edit on GitHub
auth_client_switch_user
¶
Send a request to the client to switch users. The zotonic.auth.worker.js will
send a request to controller_authentication to perform the switch.
Type:
first
Return:
ok
|
{error,
term()}
#auth_client_switch_user{}
properties:
user_id:
m_rsc:resource_id()
Read the Docs
v: latest
Versions
latest
stable
0.x
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.