Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable26] Make OAuth2 authorization code expire #43019

Merged
merged 3 commits into from Jan 22, 2024

Conversation

julien-nc
Copy link
Member

Manual backport of #40766

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@@ -44,12 +48,18 @@
protected $hashedCode;
/** @var string */
protected $encryptedToken;
/** @var int */
protected $codeCreatedAt;

Check notice

Code scanning / Psalm

PropertyNotSetInConstructor Note

Property OCA\OAuth2\Db\AccessToken::$codeCreatedAt is not defined in constructor of OCA\OAuth2\Db\AccessToken or in any methods called in the constructor
/** @var int */
protected $codeCreatedAt;
/** @var int */
protected $tokenCount;

Check notice

Code scanning / Psalm

PropertyNotSetInConstructor Note

Property OCA\OAuth2\Db\AccessToken::$tokenCount is not defined in constructor of OCA\OAuth2\Db\AccessToken or in any methods called in the constructor
@Altahrim Altahrim mentioned this pull request Jan 22, 2024
3 tasks
@blizzz blizzz mentioned this pull request Jan 22, 2024
Signed-off-by: Joas Schilling <coding@schilljs.com>
@blizzz blizzz merged commit b55d048 into stable26 Jan 22, 2024
37 of 38 checks passed
@blizzz blizzz deleted the backport/40766/stable26 branch January 22, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants