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