removed code examples from auth class.
This commit is contained in:
@@ -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 {
|
|||||||
* 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 {
|
|||||||
* 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
|
||||||
|
|||||||
Reference in New Issue
Block a user