diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-26 07:27:00 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-26 07:27:00 -0400 |
commit | 2fe978e1bb044a2ba8920156184dee7bb57c728b (patch) | |
tree | 2d223ab6193e220f980143eca3f1482a0b7f1045 /actions | |
parent | c36c7db82c7ec2b93efee9dd5a06579059bfc492 (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')
-rw-r--r-- | actions/accesstoken.php | 27 | ||||
-rw-r--r-- | actions/postnotice.php | 27 | ||||
-rw-r--r-- | actions/requesttoken.php | 27 | ||||
-rw-r--r-- | actions/updateprofile.php | 27 | ||||
-rw-r--r-- | actions/userauthorization.php | 27 |
5 files changed, 135 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.')); + } +} 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 @@ +<?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 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 @@ +<?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 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 @@ +<?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 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 @@ +<?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 UserauthorizationAction extends Action { + function handle($args) { + parent::handle($args); + common_server_error(_t('Not yet implemented.')); + } +} |