Diff

mod_auth_wordpress/README.markdown @ 1803:4d73a1a6ba68

Convert all wiki pages to Markdown
author Kim Alvefur <zash@zash.se>
date Fri, 28 Aug 2015 18:03:58 +0200
parent 1782:29f3d6b7ad16
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_auth_wordpress/README.markdown	Fri Aug 28 18:03:58 2015 +0200
@@ -0,0 +1,32 @@
+---
+labels:
+- 'Stage-Alpha'
+- 'Type-Auth'
+summary: Wordpress authentication module
+...
+
+Introduction
+============
+
+This module allows you to authenticate against an Wordpress database.
+
+Configuration
+=============
+
+SQL connection paramaters are identical to those of [SQL
+storage](https://prosody.im/doc/modules/mod_storage_sql).
+
+    authentication = "wordpress"
+    wordpress_table_prefix = "wp_" -- default table prefix
+    sql = { -- See documentation for SQL storage
+        driver = "MySQL";
+        database = "my_wordpress";
+        host = "localhost";
+        username = "prosody";
+        password = "secretpassword";
+    }
+
+Compatibility
+=============
+
+Prosody 0.8+