aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/core/rest/auth
Commit message (Collapse)AuthorAgeFilesLines
* Overload authorize directive to check against service contextJakob Odersky2018-02-091-26/+35
| | | | | | | | | | | 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.
* Apply new formattingJakob Odersky2017-11-205-5/+5
|
* Refactor rest package into separate filesZach Smith2017-10-126-0/+193