class Devise::Strategies::Authenticatable

def params_auth_hash

Extract the appropriate subhash for authentication from params.
def params_auth_hash
  params[scope]
end