Module: AuthlogicConnect::Oauth::Helper
- Defined in:
- lib/authlogic_connect/oauth/helper.rb
Instance Method Summary collapse
- #oauth_input(options = {}) ⇒ Object
- #oauth_login_hidden_input ⇒ Object
-
#oauth_register_hidden_input ⇒ Object
options include “name”.
Instance Method Details
#oauth_input(options = {}) ⇒ Object
12 13 14 |
# File 'lib/authlogic_connect/oauth/helper.rb', line 12 def oauth_input( = {}) tag(:input, {:type => "hidden", :name => "authentication_type", :value => [:type]}) end |
#oauth_login_hidden_input ⇒ Object
8 9 10 |
# File 'lib/authlogic_connect/oauth/helper.rb', line 8 def oauth_login_hidden_input oauth_input(:type => "session") end |
#oauth_register_hidden_input ⇒ Object
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 |