Displaying 4 results from an estimated 4 matches for "user_credentials".
2010 Jan 26
1
Why does UserSession.find return nil when using user_credentials = single_access_token?
...to find Bob by the persistence token rather than the single
access token.
I''ve been very thorough in looking through the documentation, but I
must be missing something. What is it that I''m neglecting?
class UsersController < ApplicationController
def update
# params[:user_credentials].inspect shows the correct
''xxxSingle_Access_Tokenxxx''
user_hash = RegisteredUserSession.find.record
user = RegisteredUser.find(user_hash)
user.update(params[:user])
user.save
respond_to do |format|
format.json { head :ok }
end
end
private...
2009 Dec 03
2
AuthLogic Question - one time password (persistence_token) - what config is required to use this???
...gic ).
Question 1 - Can anyone confirm what config exactly is required to
make the one time password (persistence_token) work in AuthLogic? See
below for the bulk...
Question 2 - If not the full answer to the above, then just: In the
AuthLogic code base where is URL parameter key string of
"user_credentials" actually set? I can''t see to find it. Refer to
line 28 of the params.rb file. There is an assumption the one time
URL key to use is this, but can''t find where it is set.
DETAILS FOR FULL QUESTION (Q1)
===============================
From what I can work out so far it...
2010 Sep 02
0
controller failing to read flash
I''m seeing some pretty strange behavior from the flash in my rails
2.3.8 app. I set the flash in a request, and then redirect. In the
next request (the one redirected to), accessing the flash returns an
empty hash, but the flash is stored and visible in the session.
(rdb:21) session
{:user_credentials=>"...", :session_id=>"...", :user_credentials_id=>1, :flash=>{:notice=>"Twitter
status updated"}, :_csrf_token=>"..."}
(rdb:21) session[:flash]
{:notice=>"Twitter status updated"}
(rdb:21) flash
{}
Looking at the source for fla...
2012 May 07
0
Authlogic Single Access Token-Web Service Iphone app
Hi all
I am working on Rails 2 application where i need to provide
web services for iphone app.
I am using authlogic gem for authentication.For web services i am
using single access token(user_credentials="XXXXXXXXX").
Every thing is working fine except session[:something] for API
call.This session variable is not working for API call.This session
variable is not persisting.
Is anyone used authlogic for API call on Rails application.Please
help me out this....