Sha256: 0f3cbb2d5d1e15eb97d53906ff98286b65b986c5e5d9c08aabaa31ac8d24e299

Contents?: true

Size: 411 Bytes

Versions: 27

Compression:

Stored size: 411 Bytes

Contents

module AuthlogicConnect::Oauth::Helper
  
  # options include "name"
  def oauth_register_hidden_input
    oauth_input(:type => "user")
  end
  
  def oauth_login_hidden_input
    oauth_input(:type => "session")
  end
  
  def oauth_input(options = {})
    tag(:input, {:type => "hidden", :name => "authentication_type", :value => options[:type]})
  end
  
end

module AuthlogicConnect::Oauth::FormHelper
  
end

Version data entries

27 entries across 27 versions & 8 rubygems

Version Path
lsdr-authlogic-connect-0.0.3.9 lib/authlogic_connect/oauth/helper.rb
authlogic-connect-0.0.4.05 lib/authlogic_connect/oauth/helper.rb
authlogic-connect-0.0.4.04 lib/authlogic_connect/oauth/helper.rb
authlogic-connect-0.0.4.03 lib/authlogic_connect/oauth/helper.rb
authlogic-connect-0.0.3.9 lib/authlogic_connect/oauth/helper.rb
authlogic-connect-0.0.3.8 lib/authlogic_connect/oauth/helper.rb
authlogic-connect-0.0.3.6 lib/authlogic_connect/oauth/helper.rb