> Have you seen the complete list of directives?
> There's many directives with "Async" that means that they work on Futures.

I've seen the async authorization directives but none of them fit the
header mechanism I'm trying to emulate.
authenticateOrRejectWithChallenge() seems to come closest but on
failure I don't want a challenge response, just a rejection.

I see onComplete() takes a future which looks closer to what I want
but how you'd combine an authenticateBasicAsync with two other
Future-based custom authentication mechanisms so that you get a single
result or a rejection is completely unclear to me.

I must say that I'm finding the high level Akka-HTTP API rather
difficult to use, for simple cases it all looks so easy but as soon as
you step outside of that it immediately gets incredibly complicated
:-/

--
Alan Burlison
--

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to