-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
026eb7a
commit 7457e92
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,41 @@ | ||
# Changelog | ||
|
||
All notable changes to `laravel-openid-connect` will be documented in this file. | ||
|
||
### 0.0.1 - 2024-10-04 | ||
|
||
feat: Update OpenID Connect Integration with Enhanced Configurations and Interfaces | ||
|
||
- Refactored Service Provider: | ||
- Updated composer.json to reflect proper namespace changes. | ||
- Renamed LaravelOpenidConnectServiceProvider to LaravelOpenIdConnectServiceProvider. | ||
|
||
- Enhanced Configuration: | ||
- Added detailed comments in config/openid-connect.php for better documentation. | ||
- Introduced multiple OIDC providers configurations: Google, Okta, and Azure. | ||
|
||
- New Interfaces: | ||
- Introduced AuthorizationDataContract for encapsulating authorization data responsibilities. | ||
- Added LaravelOpenIdConnectContract for defining the main OpenID Connect flow. | ||
- Created LaravelOpenIdConnectServiceContract for HTTP interaction responsibilities. | ||
|
||
- Data Transfer Object: | ||
- Added AuthorizationData DTO implementing AuthorizationDataContract, providing methods for access token data, refresh token data, issuer URL, and query parameters. | ||
|
||
- New Exception: | ||
- Introduced InvalidProviderConfigurationException to handle missing or invalid provider configurations. | ||
|
||
- Laravel OpenID Connect Implementation: | ||
- Implemented LaravelOpenIdConnect class providing methods for generation of authorization URL, obtaining access token, user info retrieval, and token refresh functionality. | ||
|
||
- Service Implementation: | ||
- Implemented LaravelOpenIdConnectService providing stateless HTTP interactions (GET and POST) with OpenID Connect providers. | ||
|
||
- Testing: | ||
- Added comprehensive tests for DTOs, service class, and main OpenID Connect class covering validations, HTTP interactions, and configuration assertions. | ||
|
||
- Code Updates: | ||
- Removed obsolete files and updated namespace usages across the project for consistency. | ||
- Added stricter type declarations and improved code comments for better clarity and maintainability. | ||
|
||
These changes aim to enhance the flexibility, configurability, and reliability of the OpenID Connect integration within the Laravel package. |