1
0
Fork 0

ff account manager

This commit is contained in:
Friendika 2010-11-11 02:49:28 -08:00
commit 7be66b1d91
7 changed files with 44 additions and 6 deletions

26
mod/amcd.php Normal file
View file

@ -0,0 +1,26 @@
<?php
function amcd_content(&$a) {
header("Content-type: text/json");
echo <<< EOT
{
"methods": {
"username-password-form": {
"connect": {
"method":"POST",
"path":"/login",
"params": {
"username":"login-name",
"password":"password"
}
},
"disconnect": {
"method":"GET",
"path":"/logout"
}
}
}
}
EOT;
killme();
}