# File lib/omniauth/strategies/crowd.rb, line 48 def get_credentials configuration = @configuration OmniAuth::Form.build(:title => (options[:title] || "Crowd Authentication")) do text_field 'Login', 'username' password_field 'Password', 'password' if configuration.use_sessions? && configuration.sso_url fieldset 'SSO' do html "<a href=\"#{configuration.sso_url}/users/auth/crowd/callback\">" + (configuration.sso_url_image ? "<img src=\"#{configuration.sso_url_image}\" />" : '') + "</a>" end end end.to_response end