From 2fe978e1bb044a2ba8920156184dee7bb57c728b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 26 May 2008 07:27:00 -0400 Subject: 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 --- actions/accesstoken.php | 27 +++++++++++++++++++++++++++ actions/postnotice.php | 27 +++++++++++++++++++++++++++ actions/requesttoken.php | 27 +++++++++++++++++++++++++++ actions/updateprofile.php | 27 +++++++++++++++++++++++++++ actions/userauthorization.php | 27 +++++++++++++++++++++++++++ 5 files changed, 135 insertions(+) create mode 100644 actions/accesstoken.php create mode 100644 actions/postnotice.php create mode 100644 actions/requesttoken.php create mode 100644 actions/updateprofile.php create mode 100644 actions/userauthorization.php (limited to 'actions') 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 @@ +. + */ + +if (!defined('LACONICA')) { exit(1); } + +class AccesstokenAction extends Action { + function handle($args) { + parent::handle($args); + common_server_error(_t('Not yet implemented.')); + } +} diff --git a/actions/postnotice.php b/actions/postnotice.php new file mode 100644 index 000000000..dd13f60b2 --- /dev/null +++ b/actions/postnotice.php @@ -0,0 +1,27 @@ +. + */ + +if (!defined('LACONICA')) { exit(1); } + +class PostnoticeAction extends Action { + function handle($args) { + parent::handle($args); + common_server_error(_t('Not yet implemented.')); + } +} diff --git a/actions/requesttoken.php b/actions/requesttoken.php new file mode 100644 index 000000000..731d260ff --- /dev/null +++ b/actions/requesttoken.php @@ -0,0 +1,27 @@ +. + */ + +if (!defined('LACONICA')) { exit(1); } + +class RequesttokenAction extends Action { + function handle($args) { + parent::handle($args); + common_server_error(_t('Not yet implemented.')); + } +} diff --git a/actions/updateprofile.php b/actions/updateprofile.php new file mode 100644 index 000000000..ffbcc81c8 --- /dev/null +++ b/actions/updateprofile.php @@ -0,0 +1,27 @@ +. + */ + +if (!defined('LACONICA')) { exit(1); } + +class UpdateprofileAction extends Action { + function handle($args) { + parent::handle($args); + common_server_error(_t('Not yet implemented.')); + } +} diff --git a/actions/userauthorization.php b/actions/userauthorization.php new file mode 100644 index 000000000..5b8a8bdc8 --- /dev/null +++ b/actions/userauthorization.php @@ -0,0 +1,27 @@ +. + */ + +if (!defined('LACONICA')) { exit(1); } + +class UserauthorizationAction extends Action { + function handle($args) { + parent::handle($args); + common_server_error(_t('Not yet implemented.')); + } +} -- cgit v1.2.3-54-g00ecf