# wpe-auth-core

Shared WP Engine **auth-core** library for WordPress plugins: connects a site to
WP Engine and provides authenticated access to platform services. Handles the
PKCE bootstrap, RFC 7591 Dynamic Client Registration, Ed25519 `private_key_jwt`
assertions, token minting/caching, and the `wpe_auth_api_request()` helper other
libraries (kb-sync, agents, …) build on.

```php
// Authenticated request to a WP Engine service, with the site's bearer token
// and WPEngine-Project header attached automatically:
$response = wpe_auth_api_request( $url, array( 'method' => 'GET' ) );
```

📖 **Developer documentation:** [`docs/README.md`](docs/README.md)
