module Kingsman::OmniAuth::UrlHelpers
def omniauth_authorize_path(resource_or_scope, provider, *args)
def omniauth_authorize_path(resource_or_scope, provider, *args) scope = Kingsman::Mapping.find_scope!(resource_or_scope) _kingsman_route_context.send("#{provider}_omniauth_authorize_#{scope}_path", *args) end
def omniauth_authorize_url(resource_or_scope, provider, *args)
def omniauth_authorize_url(resource_or_scope, provider, *args) scope = Kingsman::Mapping.find_scope!(resource_or_scope) _kingsman_route_context.send("#{provider}_omniauth_authorize_#{scope}_url", *args) end
def omniauth_callback_path(resource_or_scope, provider, *args)
def omniauth_callback_path(resource_or_scope, provider, *args) scope = Kingsman::Mapping.find_scope!(resource_or_scope) _kingsman_route_context.send("#{provider}_omniauth_callback_#{scope}_path", *args) end
def omniauth_callback_url(resource_or_scope, provider, *args)
def omniauth_callback_url(resource_or_scope, provider, *args) scope = Kingsman::Mapping.find_scope!(resource_or_scope) _kingsman_route_context.send("#{provider}_omniauth_callback_#{scope}_url", *args) end