aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/core/rest/auth
Commit message (Collapse)AuthorAgeFilesLines
* [RFC] Use akka's built-in authenticate/authorize directives in AuthProvider ↵Zach Smith2018-08-011-41/+40
| | | | | | | | | | (#136) * Use akka's built-in authenticate/authorize directives in AuthProvider * Move AuthProvider companion object to AuthProvider file, move realm to parameter of AuthProvider * Add secondary constructor to maintain ABI compat
* Use AuthenticationFailedRejection to send 401 back to the client (#151)v1.8.20Satya Boora2018-04-101-3/+3
|
* 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