Principal
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/*).
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/*).