Download the PHP package ausus/auth-bridge without Composer
On this page you can find all versions of the php package ausus/auth-bridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ausus/auth-bridge
More information about ausus/auth-bridge
Files in ausus/auth-bridge
Package auth-bridge
Short Description AUSUS — Laravel-bridge Authorization plugin (RFC-014). Skeleton: name reserved; V0 uses ausus/kernel's StubActor directly.
License MIT
Homepage https://github.com/adonko3xBitters/auth-bridge
Informations about the package auth-bridge
ausus/auth-bridge
⚠️ Name reservation only — not yet implemented. This package ships an empty composer manifest so the
ausus/auth-bridgename is reserved on Packagist. AUSUS v0.1.x has no authentication layer — the HTTP Router trusts theX-Tenant-IDandX-Actor-*headers as set by an upstream authenticated gateway. Installing this package in v0.1.x does nothing useful; the eventual RFC-014 implementation (canonicalroleHash,ActorResolver, Laravel auth bridge) ships in a later release.
Authorization plugin satisfying RFC-014 in two modes.
Owned RFC surfaces
- RFC-014 — Actor, ActorRef, ActorResolver contract.
- Includes the canonical
roleHashalgorithm of RFC-014 §3 (locked test vectors per §3.6). - Built-in
RoleRequired/PermissionRequired/RolesRequiredPolicies of RFC-011 §8.3 live here (consumed by the DSL via theAusus\facade re-export).
Modes
| Mode | When | Source |
|---|---|---|
stub |
AUSUS_AUTH_MODE=stub (default in development) |
Hardcoded users in config/ausus-auth-stub.php + CLI commands |
laravel |
AUSUS_AUTH_MODE=laravel (default in production) |
Wraps Auth::user(); roles from Spatie\Permission OR roles model attribute OR custom resolver |
Stub-mode CLI
Production safety
AUSUS_AUTH_MODE=stub is rejected at boot in production unless AUSUS_AUTH_STUB_FORCE_PROD=true is set (loud override for read-only demos).
Allowed dependencies
ausus/kernelilluminate/auth
Forbidden
- Any other AUSUS package.
- Direct
Auth::user()access from outside the bridge (plugin authors consumeActoronly).