Skip to content
rw3iss Auth

VenAuthUser

class rw3iss\AuthServer\Laravel\VenAuthUser src/VenAuthUser.php ↗

In-memory Authenticatable backed by a UserPrincipal. Returned by VenJwtGuard when no Eloquent model is configured (“Pattern A — stateless” in the design doc). No DB query.

Annotations

  • @implements Arrayable<string,mixed>

Methods

getAuthPassword()

function getAuthPassword(): string

Auth-server holds the hash; we never store it locally.

toArray()

function toArray(): array

Returns

  • array<string,mixed>