Skip to content

Commit

Permalink
added the change log
Browse files Browse the repository at this point in the history
  • Loading branch information
rockblings committed Oct 4, 2024
1 parent 026eb7a commit 7457e92
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions CHANGELOG.md
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.

0 comments on commit 7457e92

Please sign in to comment.