Principal
interface
Vendidit\AuthServer\Domain\PrincipalSource:src/Domain/Principal.php
Discriminated union: a validated token resolves to a UserPrincipal or a ServicePrincipal. Wire-compatible with the NestJS auth-server-client’s AuthenticatedUser interface (auth-server-client/src/interfaces/*).