Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Steam: Seeing other people's accounts when logged in. Parent comment
When used over HTTPS it is about as secure as any other web auth method.
> Force users to reauthenticate after a certain period of time.
With basic auth, there is no session. Authentication credentials are sent with each request.
> Allow user to logout without closing their browser.
There is no session. Only authenticated requests.
It's not for everyone, but I find that stateless APIs are much easier to work with.
There are no comments on this comment yet.
When used over HTTPS it is about as secure as any other web auth method.
> Force users to reauthenticate after a certain period of time.
With basic auth, there is no session. Authentication credentials are sent with each request.
> Allow user to logout without closing their browser.
There is no session. Only authenticated requests.
It's not for everyone, but I find that stateless APIs are much easier to work with.