Class: Cxf::BaseApiController

Inherits:
ActionController::Base
  • Object
show all
Includes:
ContactAuthHelper, CxfClients, UserAuthHelper
Defined in:
lib/cxf/controllers/base_api_controller.rb

Instance Method Summary collapse

Methods included from UserAuthHelper

#cxf_user_login, #cxf_user_logout, #cxf_user_magic_link_login, #cxf_user_signed_in?, #update_user_tokens

Methods included from ContactAuthHelper

#cxf_contact_login, #cxf_contact_logout, #cxf_contact_signed_in?, #update_contact_tokens

Instance Method Details

Cxf contact Login.

This method works to override the base to add the redirect parameter The main method is located in contact_auth_helper.rb



24
25
26
# File 'lib/cxf/controllers/base_api_controller.rb', line 24

def (hash)
  super(hash, true)
end

#define_cxf_clientsObject



16
17
18
# File 'lib/cxf/controllers/base_api_controller.rb', line 16

def define_cxf_clients
  %w[contact pub]
end