Method: Underworld::APIController#authenticate_filter

Defined in:
app/controllers/underworld/api_controller.rb

#authenticate_filterObject

User authentication for API services take place here. By default Underworld uses the authentication method of Devise to authenticate access to API service.

If you want to change authentication method ? just override this method in you APIController



45
46
47
# File 'app/controllers/underworld/api_controller.rb', line 45

def authenticate_filter
  authenticate_user!
end