This is a convenience property to easily check if the application has defined any roles. Only in that case we will create a user pool and an authorization API. If there are no roles defined, it means that all app endpoints are public and users won't be registered (they are all anonymous)
Returns the name of the ReadModel from the name of its resouce (normally, a table)
OptionallogOptionalloggerOptionaleventOptionalreadOptionalsessionOptionalassetsOptionalinjectableReadonlysubscriptionsReadonlycodeReadonlyeventReadonlyeventReadonlyeventReadonlyserveReadonlysensorReadonlyscheduledReadonlynotifyReadonlyfunctionReadonlyeventsReadonlynotificationsReadonlypartitionReadonlytopicReadonlyeventReadonlyentitiesReadonlyreducersReadonlycommandReadonlyqueryReadonlyeventReadonlyreadReadonlyprojectionsReadonlyunReadonlyreadReadonlyrolesReadonlyschemaReadonlyscheduledReadonlydataReadonlysensorReadonlynonReadonlyenvEnvironment variables to set when running the application
Add TokenVerifier implementations to this array to enable token verification.
When a bearer token arrives in a request 'Authorization' header, it will be checked
against all the verifiers registered here.
Readonlyenvironment
Class used by external packages that needs to get a representation of the Magek config. Used mainly for vendor-specific deployment packages