Sha256: 0d546f46984a968db9c0e59a179f5f62f1d6278c2f2d10af7db0fccc68d11a8b

Contents?: true

Size: 1.01 KB

Versions: 22

Compression:

Stored size: 1.01 KB

Contents

# frozen_string_literal: true

module Devise
  module OmniAuth
    module UrlHelpers
      def omniauth_authorize_path(resource_or_scope, provider, *args)
        scope = Devise::Mapping.find_scope!(resource_or_scope)
        _devise_route_context.send("#{scope}_#{provider}_omniauth_authorize_path", *args)
      end

      def omniauth_authorize_url(resource_or_scope, provider, *args)
        scope = Devise::Mapping.find_scope!(resource_or_scope)
        _devise_route_context.send("#{scope}_#{provider}_omniauth_authorize_url", *args)
      end

      def omniauth_callback_path(resource_or_scope, provider, *args)
        scope = Devise::Mapping.find_scope!(resource_or_scope)
        _devise_route_context.send("#{scope}_#{provider}_omniauth_callback_path", *args)
      end

      def omniauth_callback_url(resource_or_scope, provider, *args)
        scope = Devise::Mapping.find_scope!(resource_or_scope)
        _devise_route_context.send("#{scope}_#{provider}_omniauth_callback_url", *args)
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/devise-4.9.4/lib/devise/omniauth/url_helpers.rb
devise-4.9.4 lib/devise/omniauth/url_helpers.rb
devise-4.9.3 lib/devise/omniauth/url_helpers.rb
devise-4.9.2 lib/devise/omniauth/url_helpers.rb
devise-4.9.1 lib/devise/omniauth/url_helpers.rb
devise-4.9.0 lib/devise/omniauth/url_helpers.rb
devise-4.8.1 lib/devise/omniauth/url_helpers.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/devise-4.8.0/lib/devise/omniauth/url_helpers.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/devise-4.8.0/lib/devise/omniauth/url_helpers.rb
devise-4.8.0 lib/devise/omniauth/url_helpers.rb
devise-4.7.3 lib/devise/omniauth/url_helpers.rb
devise-4.7.2 lib/devise/omniauth/url_helpers.rb
devise-4.7.1 lib/devise/omniauth/url_helpers.rb
devise-4.7.0 lib/devise/omniauth/url_helpers.rb
devise-4.6.2 lib/devise/omniauth/url_helpers.rb
devise-4.6.1 lib/devise/omniauth/url_helpers.rb
devise-4.6.0 lib/devise/omniauth/url_helpers.rb
devise-4.5.0 lib/devise/omniauth/url_helpers.rb
devise-4.4.3 lib/devise/omniauth/url_helpers.rb
devise-4.4.2 lib/devise/omniauth/url_helpers.rb