auth

Enforces authentication and authorization.

  1. AuthAttribute!R auth(R roles)
    auth
    (
    R
    )
    ()
  2. AuthAttribute!void auth [@property getter]

Parameters

roles R

Role expression to control authorization. If no role set is given, any authenticated user is granted access.

Meta