Just out of curiosity, why is the AuthenticationDirective using a Tuple1[T] instead of just T? Is this because of forward compatibility or has this some other reason?
trait AuthenticationDirective[T] extends Directive1[T] type Directive1[T] = Directive[Tuple1[T]] Also it seems that the doc https://doc.akka.io/docs/akka-http/current/routing-dsl/directives/security-directives/authenticateBasicAsync.html?language=scala is out of date because it does not reflect this in the example and it also contains a reference to a not existing class HttpAuthenticator. I would like to fix the doc (provide a PR) but I think I am not experienced enough. David -- >>>>>>>>>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
