# controller\_authentication

Source: https://zotonic.com/docs/1855/controller_authentication

URI: https://zotonic.com/id/1855

Language: en



This controller manages all authentication cookies. It is called by the `auth` model in the browser.

It accepts POST requests and dispatches commands including logon, logoff, session refresh, automatic-logon configuration, password changes and resets, user switching, one-time tokens, and authentication status. Responses use the same JSON, UBF, or BERT representation negotiated by the request.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1855?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1855?language=en>)
