aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/bshaffer/oauth2-server-php/src/OAuth2/Storage/Redis.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-10-05 11:33:28 +0000
committerMario <mario@mariovavti.com>2023-10-05 11:33:28 +0000
commit6920fb2793265e5c9cdcdc8325398b07f216f184 (patch)
treebfd9458aa25c602b2e1c63740fa14e1b6002b15e /vendor/bshaffer/oauth2-server-php/src/OAuth2/Storage/Redis.php
parent3d1171de8d72d9c400c76fed6e947fef80fa9804 (diff)
downloadvolse-hubzilla-6920fb2793265e5c9cdcdc8325398b07f216f184.tar.gz
volse-hubzilla-6920fb2793265e5c9cdcdc8325398b07f216f184.tar.bz2
volse-hubzilla-6920fb2793265e5c9cdcdc8325398b07f216f184.zip
composer update oauth2 server
Diffstat (limited to 'vendor/bshaffer/oauth2-server-php/src/OAuth2/Storage/Redis.php')
-rw-r--r--vendor/bshaffer/oauth2-server-php/src/OAuth2/Storage/Redis.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/bshaffer/oauth2-server-php/src/OAuth2/Storage/Redis.php b/vendor/bshaffer/oauth2-server-php/src/OAuth2/Storage/Redis.php
index e6294e22d..5a41dfc22 100644
--- a/vendor/bshaffer/oauth2-server-php/src/OAuth2/Storage/Redis.php
+++ b/vendor/bshaffer/oauth2-server-php/src/OAuth2/Storage/Redis.php
@@ -95,11 +95,11 @@ class Redis implements AuthorizationCodeInterface,
return $this->getValue($this->config['code_key'] . $code);
}
- public function setAuthorizationCode($authorization_code, $client_id, $user_id, $redirect_uri, $expires, $scope = null, $id_token = null)
+ public function setAuthorizationCode($authorization_code, $client_id, $user_id, $redirect_uri, $expires, $scope = null, $id_token = null, $code_challenge = null, $code_challenge_method = null)
{
return $this->setValue(
$this->config['code_key'] . $authorization_code,
- compact('authorization_code', 'client_id', 'user_id', 'redirect_uri', 'expires', 'scope', 'id_token'),
+ compact('authorization_code', 'client_id', 'user_id', 'redirect_uri', 'expires', 'scope', 'id_token', 'code_challenge', 'code_challenge_method'),
$expires
);
}