search for: secure_with_token

Displaying 1 result from an estimated 1 matches for "secure_with_token".

2008 Jun 03
2
Order of authentication methods is causing unnecessary call to API?
...am noticing that after a user installs my app I get a request that not only contains an auth_key but also contains a valid session key. Occasionally I am seeing that Facebook server is occasionally sending a connection reset during the auth key authentication method, this caused me to notice that secure_with_token is given precedence in the code: def set_facebook_session returning session_set = session_already_secured? || secure_with_token! || secure_with_facebook_params! do if session_set capture_facebook_friends_if_available! Session.current = facebook_session...