Esempio n. 1
0
 function __construct(Application $app, $name)
 {
     $this->app = $app;
     $this->name = $name;
     $this->createProvider();
     parent::__construct($this->app["auth2.{$this->name}.reminder.repository"], $this->app["auth.{$this->name}.provider"], $this->app['mailer'], $this->getEmailTemplate());
 }
Esempio n. 2
0
 /**
  * Get the user for the given credentials.
  *
  * @param array $credentials
  * @return \Illuminate\Auth\Reminders\RemindableInterface 
  * @throws \UnexpectedValueException
  * @static 
  */
 public static function getUser($credentials)
 {
     return \Illuminate\Auth\Reminders\PasswordBroker::getUser($credentials);
 }