Const
Marks an endpoint to be only reachable when the logged in user belongs to the requested resource somehow.
The target entity that needs to be checked to belong to the user.
The key of the id path parameter in the endpoint.
The key on the target, that defines to which user it belongs.
The auth strategies that are allowed to be used to check that.
Marks an endpoint to be only reachable when the logged in user belongs to the requested resource somehow.