Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to not set the remember_for field? #31

Open
prponnal opened this issue May 19, 2011 · 0 comments
Open

how to not set the remember_for field? #31

prponnal opened this issue May 19, 2011 · 0 comments

Comments

@prponnal
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant