# Http autentication and restful\_authentication

**URL:** <https://www.ruby-forum.com/t/http-autentication-and-restful-authentication/150697>\
**Category:** Rails\
**Created:** [October 11, 2008, 6:55pm UTC](https://www.ruby-forum.com/t/http-autentication-and-restful-authentication/150697 "2008-10-11T18:55:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arvias](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@arvias](https://www.ruby-forum.com/u/arvias)\
**Post date:** [October 11, 2008, 6:55pm UTC](https://www.ruby-forum.com/t/http-autentication-and-restful-authentication/150697/1 "2008-10-11T18:55:51Z")

</div>

Hi,

I’ve started the long task of adding an API to a project of mine.

Since I need to write a PHP library for it I will use for inspiration  
the one for Basecamp([GitHub - quirkey/basecamphp: PHP Wrapper for the 37 Signals Basecamp API](http://github.com/quirkey/basecamphp/)).

However that library uses http authentication, and I have a setup with  
restful\_authentication(cookies).

Is there a way to make restful authentication accept users coming from  
http auth?

## Cheers,

M.
