Decorators
@system-inc/base-foundation · 515c140 · 2 symbols
@RequireSessionAccess
decorator
Enables session based access control for a class or method. If a valid session is not present, the resource will return a 401 Unauthorized response.
@WithSessionAccess
decorator
Enables session based access control for a class or method.
The session is loaded into the request context if the user is authenticated, but an anonymous request is not rejected.