Skip to content
Permalink
Browse files

Correct doc blocks for AuthComponent

  • Loading branch information...
dereuromark committed Sep 1, 2013
1 parent f91eb3b commit a36456cc876ed52470beba92f28b0e245de6fe40
Showing with 6 additions and 6 deletions.
  1. +6 −6 lib/Cake/Controller/Component/AuthComponent.php
@@ -175,7 +175,7 @@ class AuthComponent extends Component {
/**
* An URL (defined as a string or array) to the controller action that handles
* logins. Defaults to `/users/login`
* logins. Defaults to `/users/login`.
*
* @var mixed
*/
@@ -250,14 +250,14 @@ class AuthComponent extends Component {
public $response;
/**
* Method list for bound controller
* Method list for bound controller.
*
* @var array
*/
protected $_methods = array();
/**
* Initializes AuthComponent for use in the controller
* Initializes AuthComponent for use in the controller.
*
* @param Controller $controller A reference to the instantiating controller object
* @return void
@@ -610,7 +610,7 @@ public function login($user = null) {
/**
* Log a user out.
*
* Returns the login action to redirect to. Triggers the logout() method of
* Returns the logout action to redirect to. Triggers the logout() method of
* all the authenticate objects, so they can perform custom logout logic.
* AuthComponent will remove the session data, so there is no need to do that
* in an authentication object. Logging out will also renew the session id.
@@ -688,7 +688,7 @@ protected function _getUser() {
}
/**
* Backwards compatible alias for AuthComponent::redirectUrl()
* Backwards compatible alias for AuthComponent::redirectUrl().
*
* @param string|array $url Optional URL to write as the login redirect URL.
* @return string Redirect URL
@@ -760,7 +760,7 @@ public function identify(CakeRequest $request, CakeResponse $response) {
}
/**
* loads the configured authentication objects.
* Loads the configured authentication objects.
*
* @return mixed either null on empty authenticate value, or an array of loaded objects.
* @throws CakeException

0 comments on commit a36456c

Please sign in to comment.
You can’t perform that action at this time.