waaseyaa / oauth-provider
OAuth 2.0 provider abstraction for Waaseyaa applications
v0.1.0-alpha.218
2026-06-16 01:58 UTC
Requires
- php: >=8.5
- waaseyaa/http-client: ^0.1.0-alpha.218
Requires (Dev)
- phpunit/phpunit: ^10.5
This package is auto-updated.
Last update: 2026-06-16 02:03:51 UTC
README
Layer 0 — Foundation
OAuth 2.0 provider abstraction for Waaseyaa applications.
OAuthProviderInterface is the per-IdP contract (Google, GitHub, Apple, etc.); ProviderRegistry resolves a registered provider by name. OAuthStateManager issues and validates anti-CSRF state tokens via SessionInterface; OAuthToken and OAuthUserProfile are value objects carried through the OAuth callback. Concrete providers live under Provider/ and consumer apps register additional ones at boot.
Key classes: OAuthProviderInterface, ProviderRegistry, OAuthStateManager, OAuthToken, OAuthUserProfile.