Download the PHP package quioteframework/auth-oauth without Composer
On this page you can find all versions of the php package quioteframework/auth-oauth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download quioteframework/auth-oauth
More information about quioteframework/auth-oauth
Files in quioteframework/auth-oauth
Package auth-oauth
Short Description OAuth 2.1 client (auth-code + PKCE, OIDC discovery, ID-token validation) and Client Credentials (M2M) support for Quiote.
License MIT
Homepage https://github.com/quioteframework/auth-oauth
Informations about the package auth-oauth
quioteframework/auth-oauth
OAuth 2.1 client (Authorization Code + PKCE, OIDC discovery/ID-token validation) and Client
Credentials (M2M) support for Quiote, built on
league/oauth2-client. Reuses quioteframework/auth-jwt's TokenValidatorInterface for ID-token
signature/iss/aud verification (one JWT stack, not two) and adds OIDC-specific nonce
verification on top. Requires quioteframework/auth and quioteframework/auth-jwt.
Install
Discovery
OidcDiscoveryClient fetches {issuer}/.well-known/openid-configuration (OpenID Connect Discovery
1.0) so one issuer URL replaces five hand-copied endpoint strings. It verifies the document's own
issuer against the one you asked for (§4.3), refuses plaintext issuers unless you opt out, and
caches the document in an optional PSR-6 pool — the same kind of pool auth-jwt's JWKS key set
already needs.
ClientCredentialsClient::fromDiscovery() and IntrospectionClient::fromDiscovery() are the same
deal for the token and introspection endpoints. Endpoints a flow can't work without throw
AuthenticationException at wiring time when the provider doesn't advertise them, rather than
becoming an empty URL later; optional ones (userinfo, introspection, revocation,
end_session) return null.
Enable
No plugin/default registration: OidcClient, OidcAuthenticator, ClientCredentialsClient, and
IntrospectionClient all need app-specific endpoints/secrets, so construct and register them
yourself. See docs/AUTHENTICATION_IMPLEMENTATION_HANDOFF.md in the main repo for a worked
example.
License
MIT. See LICENSE.
All versions of auth-oauth with dependencies
quioteframework/quiote Version ^4.0
quioteframework/auth Version ^4.0
quioteframework/auth-jwt Version ^4.0
league/oauth2-client Version ^2.9
psr/cache Version ^3.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.1