Blame view

public/vendor/illuminate/support/Facades/Password.php 1.7 KB
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
  <?php
  
  namespace Illuminate\Support\Facades;
  
  use Illuminate\Contracts\Auth\PasswordBroker;
  
  /**
   * @method static mixed reset(array $credentials, \Closure $callback)
   * @method static string sendResetLink(array $credentials)
   * @method static \Illuminate\Contracts\Auth\CanResetPassword getUser(array $credentials)
   * @method static string createToken(\Illuminate\Contracts\Auth\CanResetPassword $user)
   * @method static void deleteToken(\Illuminate\Contracts\Auth\CanResetPassword $user)
   * @method static bool tokenExists(\Illuminate\Contracts\Auth\CanResetPassword $user, string $token)
   * @method static \Illuminate\Auth\Passwords\TokenRepositoryInterface getRepository()
   *
   * @see \Illuminate\Auth\Passwords\PasswordBroker
   */
  class Password extends Facade
  {
      /**
       * Constant representing a successfully sent reminder.
       *
       * @var string
       */
      const RESET_LINK_SENT = PasswordBroker::RESET_LINK_SENT;
  
      /**
       * Constant representing a successfully reset password.
       *
       * @var string
       */
      const PASSWORD_RESET = PasswordBroker::PASSWORD_RESET;
  
      /**
       * Constant representing the user not found response.
       *
       * @var string
       */
      const INVALID_USER = PasswordBroker::INVALID_USER;
  
      /**
       * Constant representing an invalid token.
       *
       * @var string
       */
      const INVALID_TOKEN = PasswordBroker::INVALID_TOKEN;
  
      /**
       * Constant representing a throttled reset attempt.
       *
       * @var string
       */
      const RESET_THROTTLED = PasswordBroker::RESET_THROTTLED;
  
      /**
       * Get the registered name of the component.
       *
       * @return string
       */
      protected static function getFacadeAccessor()
      {
          return 'auth.password';
      }
  }