_auth section of the conf.ini file
Synopsis
The _auth section of the conf.ini file includes configuration directives to enable authentication in a Xataface application. For more information about authentication and registration see authentication. This section may include the following directives:
Directives
| Directive | Description | Required | Default | Version |
|---|---|---|---|---|
| users_table | The name of the table that contains your user accounts. | Yes | None | 0.6 |
| username_column | The name of the column that stores the username. | Yes | None | 0.6 |
| password_column | The name of the column that stores the password. | Required if using basic authentication. | None | 0.6 |
| auth_type | Specifies the authentication module that is being used. E.g. basic, cas, ldap, http, facebook, etc… | No | basic | 0.6 |
| allow_register | Flag to enable user registration. If this is set to 1, then a register link will appear below the login form. | No | 0 | 0.8 |
| session_timeout | Number of seconds of inactivity after which the user will be logged out. Note: Arithmetic don’t work in the conf.ini, use seconds. | No | 86400 (=> 24*60*60 (24 hours)) | 1.3rc4 |
See Also
- authentication - Overview of Xataface Authentication
- conf.ini file - Directives available in the conf.ini file.
var disqus_identifier = ‘xataface.com/wiki/_auth’; (function() { var dsq = document.createElement(‘script’); dsq.type = ‘text/javascript’; dsq.async = true; dsq.src = ‘http://xataface.disqus.com/embed.js’; (document.getElementsByTagName(‘head’)[0] || document.getElementsByTagName(‘body’)[0]).appendChild(dsq); })(); blog comments powered by Disqus
//<![CDATA[ (function() { var links = document.getElementsByTagName(‘a’); var query = ‘?’; for(var i = 0; i < links.length; i++) { if(links[i].href.indexOf(‘#disqus_thread’) >= 0) { query += ‘url’ + i + ‘=’ + encodeURIComponent(links[i].href) + ‘&’; } } document.write(‘