Commit Graph

5577 Commits (a7906d813ad342f06d4834c10c1200002f7342d2)
 

Author SHA1 Message Date
Tom Needham a7906d813a Move OAuth classes into lib/oauth 13 years ago
Tom Needham 88c6928bad API: Use OC_API::checkLoggedIn() and OAuth scopes are app_$appname 13 years ago
Tom Needham 395a056b64 Remove old oauth-php library 13 years ago
Michael Gapczynski e3d88270cc OAuth server implementation using oauth library 13 years ago
Bart Visscher 4b9200f6f7 Routing: combine all routes into one set 13 years ago
Bart Visscher 6ba2623485 Move loading of routes to OC::getRouter function 13 years ago
Bart Visscher 37ef522b05 Quick fix for xml encoding arrays 13 years ago
Bart Visscher 7952c6a31c Change access to router object to getter function 13 years ago
Bart Visscher 93daa9e247 API: Complete respond function 13 years ago
Tom Needham c11c2d0fd4 Logout the user at the end of a call to be stateless 13 years ago
Tom Needham 2afe5f9b2b API: add OC_API::checkLoggedIn() 13 years ago
Tom Needham 75dbed2208 Fix the api routes 13 years ago
Tom Needham e315384b4d Remove unnecessary include 13 years ago
Tom Needham e7f7693b2f Fix 3rdparty paths, initialise OAuth in correct order 13 years ago
Tom Needham 9ec035e3d3 Add oauth-php library 13 years ago
Bart Visscher 7426217e76 Fix /privatedata/getattribute route 13 years ago
Bart Visscher 71918a820f API: set request method for registered urls 13 years ago
Bart Visscher 006b127da4 Routing: Handle MethodNotAllowedException 13 years ago
Bart Visscher 9d6a09f589 Routing: Method needs to be uppercase 13 years ago
Bart Visscher 28537037ae Fixup OCS modules 13 years ago
Bart Visscher c2bdb5c716 Fix require 3rdpartypath 13 years ago
Tom Needham fcf3dbcfc1 Require a username for OC_OAuth::registerConsumer() 13 years ago
Tom Needham ce41f3801e Actually login the user when using OAuth 13 years ago
Tom Needham 78bbcc8aea Basic OAuth class based on oauth-php. WIP 13 years ago
Tom Needham 5922599f48 Handle function not needed in lib/ocs.php 13 years ago
Tom Needham b05639e745 Fix error with namespacing 13 years ago
Tom Needham cc6911e1f7 Make method static 13 years ago
Bart Visscher 0a9ca42c34 Fix OC_OCS_Privatedata::privateDataGet 13 years ago
Bart Visscher 7a24f0cd8d Make calling ocs/v1.php/config work 13 years ago
Bart Visscher 180bd69dbb Fix OC_API::register 13 years ago
Bart Visscher 95d3b83a77 Create OC_Router in OC::init 13 years ago
Bart Visscher 0271bfa3b7 Move loading of routes to OC_Router 13 years ago
Bart Visscher 372fdf8077 Add 'ocs' as app name to API registration 13 years ago
Tom Needham 91daf54d7c Check if required apps are installed 13 years ago
Tom Needham 2f84a8d746 Merge the responses recursively 13 years ago
Tom Needham c4d87c1aff Add methods for getting users and creating users to provisioning api 13 years ago
Tom Needham caa9182eed Updated group methods for provisioning api 13 years ago
Tom Needham 8161b04c33 Add Provisioning_API app and routes 13 years ago
Tom Needham 3a0e3708a5 Add public class for registering api calls 13 years ago
Tom Needham c7c16ac49b Improve merging of api responses 13 years ago
Tom Needham e47a8a9f09 Authorisation requires you to be logged in 13 years ago
Tom Needham b0dc4383e1 Clean code slightly 13 years ago
Tom Needham b563dff10a Record the app that is registering a call to use later with OAuth 13 years ago
Tom Needham 9ffaea480f Add the format parameter inside OC_API 13 years ago
Tom Needham 9072106048 Move OCS methods to lib/ocs/.php 13 years ago
Tom Needham f09ecee63a Move routes to ocs folder 13 years ago
Tom Needham e33174f115 Add core routes and include them in OC_API::call() 13 years ago
Tom Needham cbc0f0c1c5 Include the css for the OAuth page 13 years ago
Tom Needham 138c66a2ba Improve styling of permission request page 13 years ago
Tom Needham 5933d43901 Basic template for authorising exernal apps with OAuth 13 years ago