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