StaticallowedStaticserializerStaticsessionRetrieves a value from raw API data. Prioritises DBAPI data if available
Special method to define behaviour of JSON.stringify() on model instance
StaticcurrentStaticisStaticsignStaticverifyAdmin user session verification requires a Bearer token (app verification)
via staging users api if in a staging environment. This differs from other
flows that always require a Bearer token from production, regardless of
environment.
This is handled in the users-api-session-helper.ts.
serializer is a pure function that takes a model instance and returns a plain object that describes how to convert the model to JSON