Skip to content

Commit

Permalink
Merge pull request cakephp#624 from ravage84/patch-2
Browse files Browse the repository at this point in the history
Added some annotations to a custom authenticate code example
  • Loading branch information
ADmad committed Jul 6, 2013
2 parents ebc8850 + 54b108a commit 3d96f20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion en/core-libraries/components/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ the following::

class OpenidAuthenticate extends BaseAuthenticate {
public function authenticate(CakeRequest $request, CakeResponse $response) {
// Do things for openid here.
// Do things for OpenID here.
// Return an array of user if they could authenticate the user,
// return false if not
}
}

Expand Down

0 comments on commit 3d96f20

Please sign in to comment.