HasVenAuth
class
Vendidit\AuthServer\Laravel\Concerns\HasVenAuthSource:src/Concerns/HasVenAuth.php
Drop onto your existing App\Models\User to gain role/permission accessors proxied to the request’s principal. Used in Pattern B (composable) — see AUTH-PHP-LARAVEL-DESIGN §4.4.
class User extends Authenticatable { use HasVenAuth; }
auth()->user()->hasRole(‘seller’) // ← reads from JWT, not DB