summaryrefslogtreecommitdiff
path: root/actions/accesstoken.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-26 07:27:00 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-26 07:27:00 -0400
commit2fe978e1bb044a2ba8920156184dee7bb57c728b (patch)
tree2d223ab6193e220f980143eca3f1482a0b7f1045 /actions/accesstoken.php
parentc36c7db82c7ec2b93efee9dd5a06579059bfc492 (diff)
oauth discovery and all new actions
Updated the spec to include OAuth discovery. Added new actions for all the OMB URLs. darcs-hash:20080526112700-84dde-b1800fb4a5ab830be065e736d2a74b742b7eb0f6.gz
Diffstat (limited to 'actions/accesstoken.php')
-rw-r--r--actions/accesstoken.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/actions/accesstoken.php b/actions/accesstoken.php
new file mode 100644
index 000000000..e28a93345
--- /dev/null
+++ b/actions/accesstoken.php
@@ -0,0 +1,27 @@
+<?php
+/*
+ * Laconica - a distributed open-source microblogging tool
+ * Copyright (C) 2008, Controlez-Vous, Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+if (!defined('LACONICA')) { exit(1); }
+
+class AccesstokenAction extends Action {
+ function handle($args) {
+ parent::handle($args);
+ common_server_error(_t('Not yet implemented.'));
+ }
+}