- Contains Model Classes for Crims Users (Roles, Groups & Shares)
- A Client to connect to our Laravel/Passport-based Authentication Server
- A User- and AuthServiceProvider to resolve
Illuminate\Support\Facades\Auth::user(). Providers will self register once this package is required oncomposer updateor@php artisan package:discover --ansi
In composer.json add to the require field:
"require": { "php": "^8.2", "crims/portal-api": "^1.0" ... }
Docker Container of the consuming microservice needs to pass:
PORTAL_URL - Url of the Authentication Server
EXTERNAL_ACCESS_KEYS - Optional: listing of key-value pairs for Robot connections