When configuring FormAuthenticate you can pass in config to which fields, model and additional Cake\Network\Request $request: The request that contains login information. array $fields Get query object for fetching user from database..