Forums | Users |
Search | Signup | Login

Login API

Subscribe to Login API 6 post(s), 3 voice(s)

 
Avatar Omar G 6 post(s)

Hello Unfuddle Team,

I was just checking out your Dashboard Widget for OSX, and thought it was pretty neat and helpful to be able to see our Unfuddle. However, I had to reenable Dashboard to check out the widget because most of us in our office disable Dashboard (we hate dashboard :P ). Anyhow, I got around to thinking this would be a really neat AIR application, and I started to read a little more on the API to see if I could recreate your widget in AIR. I pretty much see everything I would need, except the ability to log in a user. What are the chances of this API feature to be available? I’d really like to make this AIR cross platform application available to all users, PC/OSX/Linux users alike as my way of contributing to this great piece of software. :)

 
Avatar Joshua Frappier Administrator 241 post(s)

Omar,

That sounds like a very interesting project. I would love to dabble in AIR at some point. So much to do and so little time!

In any case, while the API does not provide for cookie-based authentication, you will notice that it does use HTTP Basic authentication for all requests. That means that your app can simply ask the user for his credentials on start and then send them in the http header of every single request that it makes to the Unfuddle API (this is exactly how the Unfuddle widget works). This is a very typical model for authenticating against web services and should work perfectly for an AIR client.

I hope that helps and good luck on the app. Be sure to let us know how it turns out!

 
Avatar Omar G 6 post(s)

The app is coming along nicely. =) I was actually wondering though if there was somewhere that I can get a list of all the “theme colors” that get returned for different projects? Since they are actually color names (strings) not all of them are supported in ActionScript so I need to make a dictionary of colors that are unsupported so it renders the right project background color that the Unfuddle API returns.

 
Avatar Omar G 6 post(s)

nevermind, I found it :)

 
Avatar onokazu 1 post

I’m interested in the AIR project. Are you planning to make it open source?

 
Avatar Omar G 6 post(s)

I haven’t decided on the exact licensing model or how it will be distributed, but it will be available and free to the public as soon as I am done with it, which I’m hoping to have complete in the next week or two (I work on it on my free time).