Symfony Basic API Http Authentication

Posted by Daniel Hertz on Stack Overflow See other posts from Stack Overflow or by Daniel Hertz
Published on 2010-06-02T17:13:35Z Indexed on 2010/06/02 17:34 UTC
Read the original article Hit count: 463

Filed under:
|
|

Can someone point me in the right direction in regards to making an api use basic http authentication?

I am creating a restful api with symfony but would like to require users to be logged in to get certain data. I would also like many of these methods be dependent on the the username in the authentication process in order to get some of the data (using the username from the credentials to get all of a users friends)

Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about rest