Class decorator: decide what an authenticated caller may do, declaratively.
@Authz() registers the authorization service provider (so constructor ({ authz }) works
anywhere) and the kernel middleware that builds the caller's abilities for the request. It answers
what a caller may do; @Auth() answers who the caller is, and the two are usually enabled together.
The declarative half of the pair; authzBlueprint handed to defineStoneApp is the imperative one.
Class decorator: decide what an authenticated caller may do, declaratively.
@Authz()registers the authorization service provider (soconstructor ({ authz })works anywhere) and the kernel middleware that builds the caller's abilities for the request. It answers what a caller may do;@Auth()answers who the caller is, and the two are usually enabled together.The declarative half of the pair;
authzBlueprinthanded todefineStoneAppis the imperative one.