title | issue | author | author_email | author_github |
---|---|---|---|---|
Bumped oauth2-server dependency to major version 8 |
NEXT-7873 |
Lennart Tinkloh |
lernhart |
- Added
src/Core/Framework/Api/OAuth/ClientRepository::validateClient
- Added
src/Core/Framework/Api/OAuth/Client/ApiClient::isConfidential
- Added
src/Core/Checkout/Payment/Cart/Token/JWTConfigurationFactory
, which creates an injectable JWT configuration object - Added parameter
configuration
tosrc/Core/Framework/Api/OAuth/BearerTokenValidator
constructor.
The parameter signature of src/Core/Framework/Api/OAuth/ClientRepository::getClientEntity
changed due to the major update of the oauth2-server dependency.
OAuth2-Clients should be validated separately in the new validateClient
method.
See: thephpleague/oauth2-server#938
The parameter signature of src/Core/Checkout/Payment/Cart/Token/JWTFactoryV2
changed.
It uses the injected configuration object rather than a private key.
The parameter signature of src/Core/Framework/Api/OAuth/BearerTokenValidator
changed.
The injected configuration object was added as parameter.