app/controllers/browse_everything_controller.rb
# Generates the authentication link for a given provider service
# @return [String] the authentication link
Generates the authentication link for a given provider service
Generates the authentication link for a given provider service
def auth_link
    @auth_link ||= if provider.present?
                     link, data = provider.auth_link(connector_response_url_options)
                     provider_session.data = data
                     link = "#{link}&state=#{provider.key}" unless link.to_s.include?('state')
                     link
                   end
  end
def auth_link @auth_link ||= if provider . present? link , data = provider . auth_link ( connector_response_url_options ) provider_session . data = data link = "#{link}&state=#{provider.key}" unless link . to_s . include? ( 'state' ) link end end
Generates the authentication link for a given provider service
Generates the authentication link for a given provider service
the authentication link
the authentication link
String