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

Sync commits with original repository #2

Open
wants to merge 212 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
212 commits
Select commit Hold shift + click to select a range
9b7884c
Remove empty lines from .gitignore and order alphabetically (#41)
markuspoerschke Aug 13, 2020
d0caaee
[TASK] Bump extension as stable and version 1.0.0
xperseguers Aug 21, 2020
e9df1d6
[TASK] Make extension compatible with TYPO3 v10
tmaroschik Oct 5, 2020
f6dce83
[TASK] Switch to static anonymous function
xperseguers Dec 2, 2020
e981dc9
[TASK] Switch to static anonymous function
xperseguers Dec 2, 2020
b85475c
Merge branch 'DFAU-cms-v10'
xperseguers Jan 4, 2021
f472772
[FEATURE] Add signal to re-use access token retrieved on login (#49)
j-schumann Jan 4, 2021
40c3c55
Fixes #47: static use of SaltFactory (#50)
j-schumann Jan 19, 2021
2f95893
#52 handle groups coming from OIDC as array instead of comma separate…
Lumrenion Jan 19, 2021
dbaafb6
[BUGFIX] Fix compatibility with helhum/typo3-secure-web
xperseguers Feb 9, 2021
362315b
[BUGFIX] Prevent non-static method call with PasswordHashing
xperseguers Feb 9, 2021
ec29415
[BUGFIX] Make authentication service compatible with TYPO3 v10
r3h6 Feb 9, 2021
509315d
[TASK] Add TYPO3 Core editorconfig file (#61)
cjanody Feb 9, 2021
1aeec27
Add PKCE support (#56)
cumuru Feb 9, 2021
c1af3ef
[TASK] Migrate TCA registration
xperseguers Feb 9, 2021
e6536ca
[BUGFIX] Respect usersStoragePid
r3h6i Feb 9, 2021
96c63e3
[FEATURE] Login plugin: Allow to configure authorization URL paramete…
SomeBdyElse Feb 10, 2021
cdeb789
[BUGFIX] Use correct parameter type
r3h6 Feb 10, 2021
8ed2f1b
Merge pull request #63 from r3h6/fix-issue-62
xperseguers Feb 10, 2021
7407599
[TASK] Raise version to 1.1.0 (-dev)
xperseguers Feb 10, 2021
3e418c2
[TASK] Clean-up meta information
xperseguers Feb 10, 2021
3e96511
[BUGFIX] Use makeInstance for creating hook objects
r3h6i Feb 11, 2021
5e07e1b
Merge pull request #66 from r3h6/hotfix/65
xperseguers Feb 12, 2021
2960034
Just add translation to German
vergissberlin Jun 28, 2021
c1c12a3
[FEATURE] LinkViewHelper for felogin based on extbase
georgringer Oct 7, 2021
c27ec0b
Merge pull request #73 from georgringer/patch-1
xperseguers Oct 7, 2021
2d04f40
[TASK] Raise version to 1.1.0
xperseguers Feb 25, 2022
75d0750
[TASK] Adapt documentation for writing to debug log
xperseguers Mar 25, 2022
a3dedd7
[TASK] Adapt documentation for location of logs in recent versions of…
xperseguers Mar 25, 2022
2e78a77
[TASK] Minor cleanup in README.md
xperseguers Mar 25, 2022
b580e8c
Make extension compatible with v11
r3h6i May 16, 2022
682363f
Add authentication get user event
r3h6i May 16, 2022
e8228ae
Make oauth provider configurable
r3h6i May 16, 2022
be4f845
[BUGFIX] Ensure SSL is properly detected when using a reverse proxy
xperseguers Jul 14, 2022
0bad9b7
[BUGFIX] Fix URL mismatch when using a reverse proxy
der-peer Jul 14, 2022
3bb08a5
[TASK] Minor code cleanup
xperseguers Jul 14, 2022
287c825
[BUGFIX] Ensure SSL is properly detected when using a reverse proxy
xperseguers Jul 14, 2022
81be428
[BUGFIX] Fix URL mismatch when using a reverse proxy
der-peer Jul 14, 2022
df4c789
[TASK] Minor code cleanup
xperseguers Jul 14, 2022
a9b0847
Merge branch 'r3h6-compatibility-v11'
xperseguers Jul 14, 2022
3389970
[TASK] Streamline usage of locallang_db.xlf
xperseguers Jul 14, 2022
7541ca2
[FEATURE] Extend user storage
Jul 14, 2022
9517cf5
[BUGFIX] Fix callback redirect for nginx catch-all host name
cweiske Jul 14, 2022
64a553f
[TASK] Add support for ports at the login url
aceart Jul 14, 2022
6ce392d
[TASK] Mark extension as compatible with PHP 8.x
xperseguers Nov 25, 2022
fc620bd
[TASK] Prevent obvious PHP 8 bugs when extension is unconfigured
xperseguers Nov 25, 2022
42711b5
[TASK] Use proper file extension for TypoScript configuration files
xperseguers Nov 28, 2022
c1c788e
[TASK] Hook into EXT:felogin (Fluid-based template)
xperseguers Nov 28, 2022
73d1cf1
Merge pull request #72 from vergissberlin/patch-1
xperseguers Dec 2, 2022
7f92434
[BUGFIX] Prevent PHP warning with hook post-processing with PHP 8
xperseguers Dec 5, 2022
1e24505
[BUGFIX] Prevent PHP warning in AuthenticationController with PHP 8
DanielSiepmann Feb 9, 2023
d272f84
Merge pull request #88 from DanielSiepmann/87-php-warningkey-oidc_state
xperseguers Feb 9, 2023
877ef3d
[BUGFIX] Prevent PHP warning in LoginController with PHP 8
DanielSiepmann Feb 9, 2023
a54ee31
Merge pull request #90 from DanielSiepmann/89-php-warning-undeclared-…
xperseguers Feb 9, 2023
0ca5d63
[TASK] Raise version to v1.2.0
xperseguers Feb 9, 2023
e5cc4b6
[FEATURE] Use HTTP_REFERER as oidc_redirect_url
liayn Feb 9, 2022
e3942b2
[TASK] Use logFileInfix for logging configuration example
liayn Apr 21, 2023
05b956e
[TASK] Make xlf files crowdin compatible
liayn Apr 21, 2023
a3a4a68
[TASK] Sort English locallang_db.xlf
liayn Apr 21, 2023
9ce93fb
[TASK] Update German translation
liayn Apr 21, 2023
51fb90c
[TASK] Drop support for old TYPO3 versions
xperseguers Apr 24, 2023
9e46d2e
[TASK] Drop usage of TYPO3_MODE
xperseguers Apr 24, 2023
7cdb64b
[TASK] Use current location for AuthenticationService
xperseguers Apr 24, 2023
2b46225
Merge pull request #95 from liayn/task/xliff
xperseguers Apr 24, 2023
25e2a21
Merge pull request #93 from liayn/feature/http-referrer
xperseguers Apr 24, 2023
5ff97d0
Merge pull request #94 from liayn/task/logging-config
xperseguers Apr 24, 2023
46edb7c
[TASK] Cleanup AuthenticationService
liayn Apr 21, 2023
62eed98
Merge pull request #97 from liayn/task/auth-service-cleanup
xperseguers Apr 24, 2023
30b85af
[TASK] Use inherited logger
liayn Apr 24, 2023
a1f92d0
[FEATURE] Merge with existing fe_user if username matches email
liayn Nov 3, 2021
8a38b0c
Merge pull request #99 from liayn/task/logger
xperseguers Apr 24, 2023
8833c54
[TASK] Remove old felogin support
liayn Apr 24, 2023
fa60599
[TASK] Use logging via container
liayn Apr 24, 2023
4692ba1
[TASK] Use Core ExtensionConfiguration class
liayn Apr 24, 2023
7c6abeb
Merge pull request #102 from liayn/task/logging
xperseguers Apr 24, 2023
1d85d35
Merge pull request #103 from liayn/task/ext-configuration
xperseguers Apr 24, 2023
1f7b5f2
Merge pull request #100 from liayn/task/drop-old-felogin
xperseguers Apr 24, 2023
d020dce
Merge pull request #92 from liayn/feature/merge-with-existing-user
xperseguers Apr 24, 2023
28dcef6
[TASK] Cleanup extension config
liayn Apr 24, 2023
5842011
[TASK] Various minor cleanups
liayn Apr 24, 2023
6429dcd
Merge pull request #101 from liayn/task/config-cleanup
xperseguers Apr 25, 2023
90978ca
Merge pull request #106 from liayn/task/minor-cleanups
xperseguers Apr 25, 2023
c087305
[TASK] Do not load all users into memory
liayn Apr 27, 2023
95e0573
[BUGFIX] Restore ext_emconf.php
liayn Apr 26, 2023
3ab5ec9
Merge pull request #107 from liayn/bugfix/restore-emconf
xperseguers Apr 28, 2023
b457c2f
Merge pull request #108 from liayn/task/hook-memory-usage
xperseguers Apr 28, 2023
d06fba4
[BUGFIX] Set correct branch alias
liayn May 9, 2023
a6d0913
[FEATURE] Add event for post-processing a user record
liayn May 9, 2023
035ce2a
[FEATURE] Add method to retrieve access token for client
liayn May 9, 2023
77b727d
[FEATURE] Make auth service priority/quality configurable
liayn May 9, 2023
e79ebcc
Merge pull request #114 from liayn/features/auth-service-config
xperseguers May 10, 2023
c12d1b1
Merge pull request #113 from liayn/features/access-token-client
xperseguers May 10, 2023
5c9002d
Merge pull request #111 from liayn/features/user-post-processing
xperseguers May 10, 2023
fe9d436
Merge pull request #112 from liayn/bugfix/branch-alias
xperseguers May 10, 2023
d031643
[FEATURE] Add ModifyResourceOwnerEvent
liayn Jun 19, 2023
5b32061
Merge pull request #115 from liayn/feature/modifyresourceowner-event
xperseguers Jun 19, 2023
767657e
[TASK] Migrate callback.php to Middleware
liayn Jun 19, 2023
0f17f7d
[!!!][TASK] Add type declarations for ResourceOwnerHookInterface
liayn Apr 27, 2023
6d890d6
[TASK] Use RequestFactory instead of direct CURL
liayn Jun 19, 2023
a902a28
[TASK] Improve composer.json
liayn Jun 19, 2023
fff9ac5
[TASK] Remove switchableControllerActions
liayn Jun 19, 2023
305ec2c
Merge pull request #116 from liayn/task/callback-to-middleware
xperseguers Jun 19, 2023
0e3e4c5
Merge pull request #117 from liayn/task/replace-curl
xperseguers Jun 19, 2023
adac69a
Merge pull request #119 from liayn/breaking/typehints
xperseguers Jun 19, 2023
16309c1
Merge pull request #120 from liayn/task/composerjson
xperseguers Jun 19, 2023
2062bae
Merge pull request #121 from liayn/task/switchable
xperseguers Jun 19, 2023
5a422f9
[TASK] Code cleanup of OAuthService
liayn Apr 27, 2023
511e01a
Merge pull request #118 from liayn/task/cleanup
xperseguers Jun 21, 2023
d11359e
[DOCS] Update README.md for new felogin
liayn Jun 26, 2023
480d4c4
Merge pull request #122 from liayn/update-readme
xperseguers Jun 26, 2023
f40dc59
[BUGFIX] Correctly fallback to default callback uri
liayn Jun 29, 2023
fe57285
[BUGFIX] Register middleware
liayn Jun 29, 2023
7efe79d
Merge pull request #123 from liayn/bugfix/redirecturi
xperseguers Jun 30, 2023
da50cd7
[BUGFIX] Determine FE|BE mode based on authInfo
liayn Jul 17, 2023
fc7e8a8
[TASK] Cleanup some code an capture exceptions
liayn Jul 17, 2023
c0ecfb8
Merge pull request #124 from liayn/bugfix/typo3-request
xperseguers Jul 18, 2023
6df0204
Merge pull request #125 from liayn/task/authservice-cleanup
xperseguers Jul 18, 2023
86cf684
[BUGFIX] Stick to 2-letter ISO code for the language
xperseguers Sep 5, 2023
e7ae316
[TASK] Synchronize TER release script with composer.json
xperseguers Oct 11, 2023
f94d260
Add a custom user groups event
denislorch Nov 30, 2023
d5a88ba
[BUGFIX] Correct response for invalid state
liayn Jan 28, 2024
1062dfe
Merge pull request #131 from liayn/master
xperseguers Jan 29, 2024
427b418
[TASK] Allow PHP 8.3
liayn Feb 21, 2024
c2b6df3
[TASK] Remove unused use statement
liayn Mar 7, 2024
3733704
[TASK] Use TYPO3_REQUEST for tx_oidc GET params
liayn Mar 7, 2024
b73af4c
[FEATURE] Add AuthenticationPreUserEvent
liayn Mar 7, 2024
901a8c8
[TASK] Use PSR request data instead of _GP()
liayn Mar 7, 2024
2418a22
Merge pull request #132 from liayn/task/php83
xperseguers Mar 13, 2024
e93f723
Merge pull request #133 from liayn/task/request
xperseguers Mar 13, 2024
3076ff4
Merge pull request #134 from liayn/feature/pre-user-event
xperseguers Mar 13, 2024
69b2593
[BUGFIX] Prevent PHP crash in TYPO3 v11
xperseguers Mar 13, 2024
b202f27
[BUGFIX] No optional parameter before required one
liayn Mar 13, 2024
2edc9f5
Merge pull request #135 from liayn/bugfix/optional-param
xperseguers Mar 14, 2024
c072f45
[TASK] Code cleanup
liayn Mar 14, 2024
a8de08a
Merge pull request #137 from liayn/code-cleanup
xperseguers Mar 14, 2024
1ad3741
[TASK] Mark OAuthService public for DI
liayn Mar 21, 2024
981507c
[SECURITY] Prevent authentication of user from other service
liayn Apr 2, 2024
c69d95d
[TASK] Reformat README.md
xperseguers Apr 2, 2024
dd0125f
[TASK] Raise version to 2.1.0
xperseguers Apr 2, 2024
53d5519
Improve type declarations in AuthenticationGetuserGroupsEvent
denislorch Apr 8, 2024
53bb109
Merge branch 'master' into feature/custom-user-groups-event
denislorch Apr 8, 2024
a6883b5
Merge pull request #143 from liayn/oauthservice-public
xperseguers Apr 8, 2024
65e9024
[BUGFIX] #146 Respect authorize URL options without PKCE
SomeBdyElse Apr 9, 2024
55e4233
Merge pull request #147 from saccas/146-authorize-url-options
xperseguers Apr 9, 2024
f45b85a
[BUGFIX] Only request provider default scopes if available
liayn Apr 12, 2024
2f16e55
Merge pull request #149 from liayn/fix-default-scope
xperseguers May 3, 2024
2a3ca8e
[TASK] Use default scopes from ext config for token via password grant
liayn May 3, 2024
eec5a91
Merge pull request #150 from liayn/default-scope-pwd-grant
xperseguers May 3, 2024
235b013
[BUGFIX] Cope with missing TSFE
liayn May 3, 2024
3ae3a07
[TASK] Enhance event data
liayn May 3, 2024
ef44e86
[TASK] Handle code_verifier without error suppression
liayn May 14, 2024
3ef7579
[DOC] Document PHP session usage
liayn May 14, 2024
84eca12
[TASK] Replace deprecated redirectToUri method
liayn May 15, 2024
82e433e
[TASK] Store request object in LoginController
liayn May 15, 2024
770d812
[TASK] Introduce OpenIdConnectService
liayn May 15, 2024
e7ff42a
[TASK] Cleanup LoginController
liayn May 15, 2024
36fed91
[TASK] Move AuthenticationController logic to middleware
liayn May 15, 2024
b69b469
[TASK] Rename DataHandler hook class to be unique
liayn May 15, 2024
4c10968
[TASK] Remove outdated composer.json "replace" info
liayn May 15, 2024
33f4684
[BUGFIX] felogin usage docs expect empty uri on failure
liayn May 15, 2024
69bc9f5
[FEATURE] Replace PHP session with JWT
liayn May 15, 2024
deaf950
[TASK] Try several ways to retrieve the request in AuthenticationService
liayn May 16, 2024
60a1e22
[TASK] Limit AuthenticationContext property access
liayn May 27, 2024
eedb66c
[BUGFIX] Only handle authentication stuff for GET requests
liayn May 27, 2024
9d87c46
Merge pull request #153 from liayn/remove-auth-controller
xperseguers May 30, 2024
b8ba8e4
Merge branch 'master' into replace-session-with-jwt
xperseguers May 30, 2024
297bddd
Merge pull request #155 from liayn/replace-session-with-jwt
xperseguers May 30, 2024
0ff0574
Merge pull request #152 from liayn/enhance-event-data
xperseguers May 30, 2024
7c55057
Merge pull request #151 from liayn/optional-tsfe
xperseguers May 31, 2024
b8e8b15
[TASK] Catch any error that may occur during auth url generation
liayn Jun 6, 2024
c991ecf
Merge pull request #156 from liayn/handle-errors
xperseguers Jun 6, 2024
3bbc30d
[TASK] Use dedicated route for authorization url
liayn Jun 21, 2024
b9e79eb
Merge pull request #159 from liayn/158-auth-uri-on-demand
xperseguers Jun 27, 2024
954bc33
Merge branch 'master' into feature/custom-user-groups-event
denislorch Jul 1, 2024
a90f2ee
Update AuthenticationGetUserGroupsEvent to latest event changes
denislorch Jul 1, 2024
a205c0f
Merge pull request #129 from cron-eu/feature/custom-user-groups-event
xperseguers Jul 9, 2024
5b7f46e
[TASK] make compatible for TYPO3 12.4
Starkmann Oct 24, 2023
f07041d
[TASK] authorizationUrlOptions might be not set
Starkmann Oct 24, 2023
aee232b
[TASK] remove signal slot
Starkmann Oct 30, 2023
eb6a054
[BUGFIX] Fix null pointer exceptions
cumuru Nov 7, 2023
24c6187
[BUGFIX][WIP] Mitigate CSRF protection for fe_login
cumuru Nov 8, 2023
df5865e
[TASK] make 12.4 compatible again
Starkmann Apr 3, 2024
fd035df
[TASK] decalre strict, use PSR-12 / CGL
Starkmann Apr 4, 2024
eb227dc
[TASK] add version check
Starkmann Apr 4, 2024
cbf0084
[TASK] change typo3 to TYPO3 in comment and user 12.4 as dependency
Starkmann Apr 11, 2024
382ee47
Requested changes
gemeinling Jul 26, 2024
e2432e5
[FEATURE] Add event to modify where-conditions for fe_users
liayn Jul 30, 2024
07039a6
Merge pull request #165 from liayn/164-fe_users-where-event
xperseguers Jul 30, 2024
f508689
[BUGFIX] Use TYPO3 request factory and request
liayn Jul 31, 2024
952b0f4
[BUGFIX] Add fallback for setting authenticationUrlRoute
liayn Jul 31, 2024
e64c519
Merge branch 'master' into typo3-12.4
liayn Aug 1, 2024
e1bd46d
[BUGFIX] No hash validation for authentication url
liayn Aug 1, 2024
65a9d86
Merge pull request #169 from liayn/fix-login-action
liayn Aug 1, 2024
2c7cbe7
[BUGFIX] LoginController should redirect a logged-in user
liayn Aug 1, 2024
a783ba7
[BUGFIX] Handle missing language request attribute
liayn Aug 21, 2024
a23a280
Merge pull request #171 from liayn/missing-language-attribute
liayn Aug 21, 2024
5c40411
unnecessary todo removed
gemeinling Sep 2, 2024
247e1fe
Merge pull request #162 from gemeinling/typo3-12.4
liayn Sep 9, 2024
f39514f
[TASK] Add second developer thanks to many contributions
xperseguers Sep 21, 2024
6146861
[FEATURE] Pass oidc resource owner info to ModifyUser event
SomeBdyElse Jul 9, 2024
6b803ac
[BUGFIX] Fix type error for if the userinfo claims contain ints
SomeBdyElse Jul 9, 2024
bfa6f01
[TASK] Remove fe_login extension from dependencies
SomeBdyElse Jul 10, 2024
9aeeb8f
[BUGFIX] Fix stdWrap in user fields mapping
SomeBdyElse Jul 9, 2024
389b850
Merge pull request #172 from saccas/modify-user-event-info
liayn Sep 26, 2024
b1b82f1
Merge pull request #173 from saccas/bugfix-oidcvalue-cast-string
liayn Sep 26, 2024
909a0dc
Merge pull request #174 from saccas/no-fe-login-dependency
liayn Sep 26, 2024
cc897ba
Merge pull request #175 from saccas/fix-user-field-mapping-stdwrap
liayn Sep 26, 2024
84770bf
Merge pull request #170 from liayn/redirect-logged-in-user
liayn Sep 26, 2024
fd262ba
Merge branch 'master' into typo3-request-usage
liayn Sep 26, 2024
e3fb18e
Merge pull request #167 from liayn/typo3-request-usage
liayn Sep 26, 2024
ebfc778
Merge branch 'master' into authenticationUrlRoute-fallback
liayn Sep 26, 2024
8f02945
Merge pull request #168 from liayn/authenticationUrlRoute-fallback
liayn Sep 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

# TS/JS-Files
[*.{ts,js}]
indent_size = 2

# JSON-Files
[*.json]
indent_style = tab

# ReST-Files
[*.{rst,rst.txt}]
indent_size = 4
max_line_length = 80

# Markdown-Files
[*.md]
max_line_length = 80

# YAML-Files
[*.{yaml,yml}]
indent_size = 2

# NEON-Files
[*.neon]
indent_size = 2
indent_style = tab

# package.json
[package.json]
indent_size = 2

# TypoScript
[*.{typoscript,tsconfig}]
indent_size = 2

# XLF-Files
[*.xlf]
indent_style = tab

# SQL-Files
[*.sql]
indent_style = tab
indent_size = 2

# .htaccess
[{_.htaccess,.htaccess}]
indent_style = tab
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/.Build/*
/composer.lock
/typo3cms

/Libraries/*

/typo3cms
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# TYPO3 OpenID Connect integration changelog

## Version 2.x

* Added an event allowing to adjust the where-conditions for fetching the existing fe_users [#164](https://github.com/xperseguers/t3ext-oidc/issues/164)
* Enhanced events to include a reference to the AuthenticationService [#136](https://github.com/xperseguers/t3ext-oidc/issues/136)
* Added a user groups event to map groups by a different pattern than "Roles", e.g. "claims" [#129](https://github.com/xperseguers/t3ext-oidc/pull/129)
67 changes: 67 additions & 0 deletions Classes/AuthenticationContext.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?php

declare(strict_types=1);

namespace Causal\Oidc;

use Causal\Oidc\Security\JwtTrait;

class AuthenticationContext
{
use JwtTrait;

protected string $requestId;
protected string $state;
protected string $loginUrl;
protected string $authorizationUrl;
public string $redirectUrl;
public ?string $codeVerifier;

public function __construct(
string $state,
string $loginUrl,
string $authorizationUrl,
string $requestId,
string $redirectUrl = '',
?string $codeVerifier = null
) {
$this->state = $state;
$this->loginUrl = $loginUrl;
$this->authorizationUrl = $authorizationUrl;
$this->requestId = $requestId;
$this->redirectUrl = $redirectUrl;
$this->codeVerifier = $codeVerifier;
}

public function getAuthorizationUrl(): string
{
return $this->authorizationUrl;
}

public function getLoginUrl(): string
{
return $this->loginUrl;
}

public function getState(): string
{
return $this->state;
}

public function getRequestId(): string
{
return $this->requestId;
}

public static function fromJwt(string $cookieValue): self
{
$payload = self::decodeJwt($cookieValue, self::createSigningKeyFromEncryptionKey(static::class), true);
return new self(...$payload);
}

public function toHashSignedJwt(): string
{
$payload = get_object_vars($this);
return self::encodeHashSignedJwt($payload, self::createSigningKeyFromEncryptionKey(static::class));
}
}
109 changes: 0 additions & 109 deletions Classes/Controller/AuthenticationController.php

This file was deleted.

Loading