Repository navigation
Release v23.13.0
Summary
CommandScenario can now run commands as a given caller, in the same way Slice.GivenCaller does for slice specs.
Added
CommandScenario.WithPrincipal(ClaimsPrincipal),WithClaims(params Claim[])andUnauthenticated()set the caller a command runs as; authorization, read-model key providers and caller claims see that principal (#3905)