applicake/doorkeeper — pull request #10 by felipeelias (2011-12-05 11:06:07+00:00)
Title: Access token expiration

According to specs, access tokens should be short lived, but the expiration time may vary among implementations.

By default all access tokens expires in 2 hours, but this is configurable with:

``` ruby
access_token_expires_in 4.hours
```

It also makes more sense to change the column type and name in `oauth_access_tokens` from `expired_at` to `expired_in`.