aboutsummaryrefslogtreecommitdiffstats
path: root/apps/oauth2/lib
diff options
context:
space:
mode:
authorJulien Veyssier <julien-nc@posteo.net>2023-06-20 12:39:41 +0200
committerJulien Veyssier <julien-nc@posteo.net>2023-10-05 14:24:02 +0200
commit2995b0948f23c75fc145ace6355907f8afcd5c8c (patch)
treeee65614b272a5beb9e293c60666a36beca22f59d /apps/oauth2/lib
parent807f173dec7288945fca98548e80e43d3e401d12 (diff)
downloadnextcloud-server-2995b0948f23c75fc145ace6355907f8afcd5c8c.tar.gz
nextcloud-server-2995b0948f23c75fc145ace6355907f8afcd5c8c.zip
add tests for oauth2 authorization code expiration
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'apps/oauth2/lib')
-rw-r--r--apps/oauth2/lib/Controller/OauthApiController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/oauth2/lib/Controller/OauthApiController.php b/apps/oauth2/lib/Controller/OauthApiController.php
index 443db314f2a..d9646363f5f 100644
--- a/apps/oauth2/lib/Controller/OauthApiController.php
+++ b/apps/oauth2/lib/Controller/OauthApiController.php
@@ -48,7 +48,7 @@ use Psr\Log\LoggerInterface;
class OauthApiController extends Controller {
// the authorization code expires after 10 minutes
- private const AUTHORIZATION_CODE_EXPIRES_AFTER = 10 * 60;
+ public const AUTHORIZATION_CODE_EXPIRES_AFTER = 10 * 60;
public function __construct(
string $appName,