| .. | |||
| README.md | 12 hours ago | ||
| bootstrap.php | 12 hours ago | ||
| callback.php | 12 hours ago | ||
| index.php | 12 hours ago | ||
| stores.php | 12 hours ago | ||
| webhook.php | 12 hours ago | ||
This example demonstrates the intended usage shape of gnexus/auth-client in a minimal non-framework PHP application.
It is not production-ready.
gnexus-authbootstrap.php - package constructionstores.php - session-backed example storesindex.php - start authorization flowcallback.php - handle authorization callbackwebhook.php - verify and parse webhook requestThe example assumes you install compatible PSR implementations in the real package repository, for example:
The example code uses placeholders for these objects. Wire them with the implementations your project uses.
session_start() before using the example stores;If you need a minimal composer.json for a consuming service, see:
../consumer-template