O'Reilly logo

Mastering ServiceStack by Andreas Niedermair

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Look left and right

Additionally, apart from the basic usage of the introduced Message Queues, you can further advance the implementations, which is reflected in this final section.

Authentication

While taking advantage of the ServiceStack ecosystem and decorating a handler with the AuthenticateAttribute attribute, you can only inject credentials along an HTTP request. Thinking outside the box is the key for solving this issue. We are going to use the thinking from Chapter 2, ServiceStack as Your Unique Point of Access of the section Adding authentication and authorization to the Ticket application, by creating a session in the producer and attaching the session identifier to the DTO, which will then be used in the service to map it to a header ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required