Commit Graph

19 Commits

Author SHA1 Message Date
Hypolite Petovan 9cc675233d Add a second parameter to BaseApi::getRequest to enable API tests 2021-11-27 18:38:09 -05:00
Philipp Holzer 8bdd90066f
Make `BaseModule` a real entity
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +01:00
Philipp Holzer 489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
Philipp Holzer 714f0febc4
Replace `$parameters` argument per method with `static::$parameters` 2021-11-14 23:49:05 +01:00
Michael Vogel a256f18159
Update src/Module/OAuth/Token.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-06-16 22:19:26 +02:00
Michael 6b3476409a Check for REDIRECT_REMOTE_USER as well 2021-06-16 19:39:51 +00:00
Michael 5e22704f7e API: Added OAuth revoke, adding documentation to parameters 2021-06-16 19:24:44 +00:00
Michael acbe9ebf9e API: New classes for OAuth and basic auth 2021-06-08 06:32:24 +00:00
Michael e3d227f3c9 API: Parameter cleanup 2021-05-19 06:18:42 +00:00
Michael 0aaaf8d6ef API: Support OAuth client credentials 2021-05-14 06:05:01 +00:00
Michael 8b841dfa50 Fix connection issues with AndStatus 2021-05-13 22:00:40 +00:00
Michael 7975bc244d Refine OAuth flow 2021-05-13 11:26:56 +00:00
Michael 8a5560ec8f Simplified null check 2021-05-12 12:40:45 +00:00
Michael 87f7e26638 Added documentation 2021-05-12 12:00:24 +00:00
Michael c22846339a Improved error reporting 2021-05-12 05:30:21 +00:00
Michael 8eacfbc570 Fix context order / notice fixed 2021-05-11 19:53:19 +00:00
Michael cfb9b73205 Store creation date 2021-05-11 08:16:40 +00:00
Michael c9e6fea74b Code style 2021-05-11 06:31:48 +00:00
Michael 82003bbe47 Login prototype 2021-05-11 06:30:20 +00:00