Wraps its inner Route with authentication support.
Wraps its inner Route with authentication support.
Can be called either with a
or Future[Authentication[T]]
.
ContextAuthenticator[T]
Applies the given authorization check to the request.
Applies the given authorization check to the request. If the check fails the route is rejected with an spray.AuthorizationFailedRejection.
Applies the given authorization check to the request.
Applies the given authorization check to the request. If the check fails the route is rejected with an spray.AuthorizationFailedRejection.