Skip to content

Commit

Permalink
Update docblocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Feb 20, 2016
1 parent 5f2f98f commit 65f09ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Auth/BaseAuthenticate.php
Expand Up @@ -35,6 +35,9 @@ abstract class BaseAuthenticate implements EventListenerInterface
* - `fields` The fields to use to identify a user by.
* - `userModel` The alias for users table, defaults to Users.
* - `finder` The finder method to use to fetch user record. Defaults to 'all'.
* You can set finder name as string or an array where key is finder name and value
* is an array passed to `Table::find()` options.
* E.g. ['finderName' => ['some_finder_option' => 'some_value']]
* - `passwordHasher` Password hasher class. Can be a string specifying class name
* or an array containing `className` key, any other keys will be passed as
* config to the class. Defaults to 'Default'.
Expand Down
2 changes: 1 addition & 1 deletion src/Auth/FormAuthenticate.php
Expand Up @@ -25,7 +25,7 @@
* ```
* $this->Auth->authenticate = [
* 'Form' => [
* 'scope' => ['Users.active' => 1]
* 'finder' => ['auth' => ['some_finder_option' => 'some_value']]
* ]
* ]
* ```
Expand Down

0 comments on commit 65f09ae

Please sign in to comment.