On Sun, Sep 13, 2015 at 7:00 AM,  <[email protected]> wrote:
>
> Where does Dancer2 get the user that is returned with
> $dsl->app->request->user?
> I have a hard time finding this in Dancer2::Core::Request.pm, where it's
> in the documentation.

Since nobody has answered this, I will take a stab at it from memory.

My suspicion: if there was Basic Auth, then there will be a User
value. Without auth, I don't think you will get any user value.
It could be from a special URL format, like this:
http://username:[email protected]/

The User value is encoded in the Authorization header.

If I am right, this is not specific to Dancer.
Cheers -- Rick
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to