Hypolite Petovan
9cc675233d
Add a second parameter to BaseApi::getRequest to enable API tests
2021-11-27 18:38:09 -05:00
Philipp
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
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
Philipp
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
Michael
5e22704f7e
API: Added OAuth revoke, adding documentation to parameters
2021-06-16 19:24:44 +00:00
Michael
0b9c934cad
Simplify the code
2021-06-10 07:02:06 +00:00
Michael
d917ed58a8
API: Tests with various clients, small fixes
2021-06-10 06:26:34 +00:00
Michael
acbe9ebf9e
API: New classes for OAuth and basic auth
2021-06-08 06:32:24 +00:00
Michael
a5c8c4d8b7
Fixes notice
2021-05-22 15:41:25 +00:00
Michael
e3d227f3c9
API: Parameter cleanup
2021-05-19 06:18:42 +00:00
Michael
3aa883f1e3
API: List handling, dummy endpoints
2021-05-13 21:15:32 +00:00
Michael
b18073d5a8
Repurposed OAuth frontend handling, store the scope
2021-05-13 14:58:55 +00:00
Michael
7975bc244d
Refine OAuth flow
2021-05-13 11:26:56 +00:00
Michael
9125d296a1
Improved error messages
2021-05-12 14:00:15 +00:00
Michael
8a5560ec8f
Simplified null check
2021-05-12 12:40:45 +00:00
Michael
8dccb66dec
Display the application name
2021-05-12 12:19:15 +00:00
Michael
87f7e26638
Added documentation
2021-05-12 12:00:24 +00:00
Michael
a23d108fa7
Session variable needs to be removed afterwards
2021-05-12 06:51:59 +00:00
Michael
6ca42512e9
OAuth connections now have to be ackknowledged
2021-05-12 06:50:27 +00:00
Michael Vogel
e99117ac22
Update src/Module/OAuth/Authorize.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-05-12 03:53:40 +02:00
Michael
f5e98c8ecf
Redirect at login does work
2021-05-11 21:04:45 +00:00
Michael
a3d1423562
unused use
2021-05-11 06:33:18 +00:00
Michael
82003bbe47
Login prototype
2021-05-11 06:30:20 +00:00