mbleigh / twitter-auth

Standard authentication stack for Rails using Twitter to log in.
355 stars 48 forks source link

how to not set the remember_for field? #31

Open prponnal opened 13 years ago

prponnal commented 13 years ago

Twitter does not itself set an expiration date/time for the access_token. However, twitter-auth seems to set it at 10 days default.

describe '.from_remember_token' do before do @user = Factory(:twitter_oauth_user, :remember_token => 'abcdef', :remember_token_expires_at => (Time.now + 10.days)) end

If my app requires users to store their access_token and get there statuses regularly, how do I do that?