Commit Graph

24 Commits (8904bf645b30fbdfdcb00a2ea607d752ee69d865)

Author SHA1 Message Date
Julien Veyssier c6da99474e
rename oauth2_access_token's created_at to code_created_at 2 years ago
Julien Veyssier ddfc124767
add test for refusing to get an oauth token from a code when we're not in authorization state 2 years ago
Julien Veyssier 2995b0948f
add tests for oauth2 authorization code expiration 2 years ago
Julien Veyssier 807f173dec
make oauth2 authorization code expire after 10 minutes 2 years ago
Joas Schilling 25309bcb45
techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25 2 years ago
Julien Veyssier 629adc318f add bruteforce protection in OauthApiController 3 years ago
Julien Veyssier 808819a4d0
fix oauth2 tests 3 years ago
Julien Veyssier 18c742a901
encrypt oauth2 client secrets 3 years ago
Côme Chilliet 9b26c4a277
Fix PHP error on PHP >= 8.2 about dynamic property use in tests 3 years ago
Joas Schilling 617528312a
Fix last tests 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Roeland Jago Douma 674930da7f
Move ExpiredTokenException to the correct namespace 7 years ago
Roeland Jago Douma 75456b057d
Reset bruteforce on token refresh OAuth 7 years ago
Roeland Jago Douma 3556e78c25
The OAuth endpoint needs to support Basic Auth 8 years ago
Roeland Jago Douma 461998dd15
Add tests 8 years ago
Lukas Reschke 691646bdae
Add tests for OAuth2 app 9 years ago