removed code examples from auth class.

This commit is contained in:
Taylor Otwell 2011-09-06 22:26:59 -05:00
parent 70b6cc5994
commit 5ee1d8db57
1 changed files with 0 additions and 12 deletions

View File

@ -54,7 +54,6 @@ public function __construct(Driver $driver, Hashing\Engine $hasher)
/** /**
* Determine if the current user of the application is authenticated. * Determine if the current user of the application is authenticated.
* *
* @see login()
* @return bool * @return bool
*/ */
public function check() public function check()
@ -69,10 +68,6 @@ public function check()
* the "by_id" closure in the authentication configuration file. The result * the "by_id" closure in the authentication configuration file. The result
* of the closure will be cached and returned. * of the closure will be cached and returned.
* *
* <code>
* $email = Auth::user()->email;
* </code>
*
* @return object * @return object
*/ */
public function user() public function user()
@ -94,13 +89,6 @@ public function user()
* The password passed to the method should be plain text, as it will be hashed * The password passed to the method should be plain text, as it will be hashed
* by the Hash class when authenticating. * by the Hash class when authenticating.
* *
* <code>
* if (Auth::login('email@example.com', 'password'))
* {
* // The credentials are valid and the user is now logged in.
* }
* </code>
*
* @param string $username * @param string $username
* @param string $password * @param string $password
* @return bool * @return bool