Roeland Jago Douma
|
e824973786
|
The OAuth endpoint needs to support Basic Auth
* Add test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2018-05-29 16:02:26 +02:00 |
Roeland Jago Douma
|
44735dedd1
|
Don't use special chars to avoid confusion
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2018-05-23 17:02:15 +02:00 |
Roeland Jago Douma
|
335f4efa83
|
Rotate token
On a refresh token request:
* rorate
* reset expire
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2018-05-23 17:02:15 +02:00 |
Roeland Jago Douma
|
c2a21ea464
|
Authenticate the clients on requesting a token
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2018-05-23 17:02:15 +02:00 |
Roeland Jago Douma
|
aa78c30666
|
Fail if the response type is not properly set
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2018-05-23 17:02:15 +02:00 |
Roeland Jago Douma
|
1525cc286c
|
Set OAuth token expiration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
2018-05-23 17:02:15 +02:00 |
Lukas Reschke
|
df3909a7c3
|
Use Bearer backend for SabreDAV
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2017-05-18 20:49:10 +02:00 |
Lukas Reschke
|
691646bdae
|
Add tests for OAuth2 app
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2017-05-18 20:49:10 +02:00 |
Lukas Reschke
|
b07a0f51ba
|
Add OAuth state to session
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2017-05-18 20:49:08 +02:00 |
Lukas Reschke
|
88afd8b224
|
Cleanup code
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2017-05-18 20:49:08 +02:00 |
Bjoern Schiessle
|
1eb7f4956b
|
delete auth token when client gets deleted
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2017-05-18 20:49:07 +02:00 |
Bjoern Schiessle
|
1a8965b488
|
handle case if no valid client identifier is given
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
|
2017-05-18 20:49:06 +02:00 |
Lukas Reschke
|
4b4d3bb1c2
|
It's a bearer
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2017-05-18 20:49:05 +02:00 |
Lukas Reschke
|
1470ec95ca
|
Fetch signle row
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2017-05-18 20:49:05 +02:00 |
Lukas Reschke
|
0a2b57c93f
|
Get a single row
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2017-05-18 20:49:04 +02:00 |
Lukas Reschke
|
a5ddd65c10
|
Use query builder
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2017-05-18 20:49:03 +02:00 |
Lukas Reschke
|
5f71805c35
|
Add basic implementation for OAuth 2.0 Authorization Code Flow
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
2017-05-18 20:49:03 +02:00 |