Module: AuthlogicConnect::Oauth::Helper

Defined in:
lib/authlogic_connect/oauth/helper.rb

Instance Method Summary collapse

Instance Method Details

#oauth_input(options = {}) ⇒ Object



12
13
14
# File 'lib/authlogic_connect/oauth/helper.rb', line 12

def oauth_input(options = {})
  tag(:input, {:type => "hidden", :name => "authentication_type", :value => options[:type]})
end

#oauth_login_hidden_inputObject



8
9
10
# File 'lib/authlogic_connect/oauth/helper.rb', line 8

def 
  oauth_input(:type => "session")
end

#oauth_register_hidden_inputObject

options include “name”



4
5
6
# File 'lib/authlogic_connect/oauth/helper.rb', line 4

def oauth_register_hidden_input
  oauth_input(:type => "user")
end