Skip to content

[stable27] Make OAuth2 authorization code expire - #43020

Merged
blizzz merged 2 commits into
stable27from
backport/40766/stable27
Jan 22, 2024
Merged

[stable27] Make OAuth2 authorization code expire#43020
blizzz merged 2 commits into
stable27from
backport/40766/stable27

Conversation

@julien-nc

Copy link
Copy Markdown
Member

Manual backport of #40766

/** @var string */
protected $encryptedToken;
/** @var int */
protected $codeCreatedAt;

Check notice

Code scanning / Psalm

PropertyNotSetInConstructor

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

Property OCA\OAuth2\Db\AccessToken::$tokenCount is not defined in constructor of OCA\OAuth2\Db\AccessToken or in any methods called in the constructor
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc
julien-ncforce-pushed the backport/40766/stable27 branch from c007493 to 8dada6aCompareJanuary 22, 2024 12:26
@AltahrimAltahrim mentioned this pull request Jan 22, 2024
3 tasks
@blizzzblizzz mentioned this pull request Jan 22, 2024
@blizzz
blizzz merged commit 6ff023b into stable27Jan 22, 2024
@blizzz
blizzz deleted the backport/40766/stable27 branch January 22, 2024 19:29
Sign up for freeto 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.

5 participants

@julien-nc@nickvergessen@AndyScherzinger@github-advanced-security@blizzz