aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorJakob Odersky <jakob@driver.xyz>2018-02-09 13:23:53 -0800
committerJakob Odersky <jakob@driver.xyz>2018-02-09 13:23:53 -0800
commitdb3d1cb6a5dc1aa0fdee3fda79b4dc204cc4af48 (patch)
tree3aae1aa05eebd2a2197dc4f0f11b7c7c7bd6ff07 /project
parent3765c504d8bdfcc7ca3a5bdafa44351c1908596e (diff)
downloaddriver-core-db3d1cb6a5dc1aa0fdee3fda79b4dc204cc4af48.tar.gz
driver-core-db3d1cb6a5dc1aa0fdee3fda79b4dc204cc4af48.tar.bz2
driver-core-db3d1cb6a5dc1aa0fdee3fda79b4dc204cc4af48.zip
Overload authorize directive to check against service context
This enables checking permissions when a service request is constructed synthetically. An example where this may be useful is in the case where an authorization token is not available as a header but can be obtained elsewhere, such as a session cookie. The service context may then be explicitly constructed with said token and reuse the existing permissions checking functionality.
Diffstat (limited to 'project')
0 files changed, 0 insertions, 0 deletions