waaseyaa/oauth-provider

OAuth 2.0 provider abstraction for Waaseyaa applications

Maintainers

Package info

github.com/waaseyaa/oauth-provider

pkg:composer/waaseyaa/oauth-provider

Statistics

Installs: 4

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0


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.