search for: single_access_allowed_request_typ

Displaying 2 results from an estimated 2 matches for "single_access_allowed_request_typ".

2009 Dec 03
2
AuthLogic Question - one time password (persistence_token) - what config is required to use this???
...b-page ends up on the login page, and not automatically on the page I was after - i.e. I was expecting that the one-time password would allow AuthLogic to automatically do the session and then authentication??? Thanks PS. Wonder if it related to this authlogic code I found in params.rb def single_access_allowed_request_types(value = nil) rw_config(:single_access_allowed_request_types, value, ["application/rss+xml", "application/atom+xml"]) end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, s...
2010 Jan 26
1
Why does UserSession.find return nil when using user_credentials = single_access_token?
...ms[:user]) user.save respond_to do |format| format.json { head :ok } end end private def single_access_allowed? true end end class UserSession < Authlogic::Session::Base allow_http_basic_auth = true params_key = ''user_credentials'' single_access_allowed_request_types = :all end class RegisteredUserSession < UserSession end class User < ActiveRecord::Base set_table_name "users" attr_accessible :display_name, :email, :password acts_as_authentic do |c| c.require_password_confirmation = false end class << self def pub...