Commit 5ee1d8db authored by Taylor Otwell's avatar Taylor Otwell

removed code examples from auth class.

parent 70b6cc59
...@@ -54,7 +54,6 @@ class Authenticator { ...@@ -54,7 +54,6 @@ class Authenticator {
/** /**
* 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 @@ class Authenticator { ...@@ -69,10 +68,6 @@ class Authenticator {
* 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 @@ class Authenticator { ...@@ -94,13 +89,6 @@ class Authenticator {
* 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment