App.php
1 month ago
Artisan.php
1 month ago
Auth.php
1 month ago
Blade.php
1 month ago
Broadcast.php
1 month ago
Bus.php
1 month ago
Cache.php
1 month ago
Config.php
1 month ago
Cookie.php
1 month ago
Crypt.php
1 month ago
DB.php
1 month ago
Date.php
1 month ago
Event.php
1 month ago
Facade.php
1 month ago
File.php
1 month ago
Gate.php
1 month ago
Hash.php
1 month ago
Http.php
1 month ago
Lang.php
1 month ago
Log.php
1 month ago
Mail.php
1 month ago
Notification.php
1 month ago
ParallelTesting.php
1 month ago
Password.php
1 month ago
Queue.php
1 month ago
RateLimiter.php
1 month ago
Redirect.php
1 month ago
Redis.php
1 month ago
Request.php
1 month ago
Response.php
1 month ago
Route.php
1 month ago
Schema.php
1 month ago
Session.php
1 month ago
Storage.php
1 month ago
URL.php
1 month ago
Validator.php
1 month ago
View.php
1 month ago
Vite.php
1 month ago
Password.php
64 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Support\Facades; |
| 4 | |
| 5 | use IAWPSCOPED\Illuminate\Contracts\Auth\PasswordBroker; |
| 6 | /** |
| 7 | * @method static \Illuminate\Contracts\Auth\PasswordBroker broker(string|null $name = null) |
| 8 | * @method static string getDefaultDriver() |
| 9 | * @method static void setDefaultDriver(string $name) |
| 10 | * @method static string sendResetLink(array $credentials, \Closure|null $callback = null) |
| 11 | * @method static mixed reset(array $credentials, \Closure $callback) |
| 12 | * @method static \Illuminate\Contracts\Auth\CanResetPassword|null getUser(array $credentials) |
| 13 | * @method static string createToken(\Illuminate\Contracts\Auth\CanResetPassword $user) |
| 14 | * @method static void deleteToken(\Illuminate\Contracts\Auth\CanResetPassword $user) |
| 15 | * @method static bool tokenExists(\Illuminate\Contracts\Auth\CanResetPassword $user, string $token) |
| 16 | * @method static \Illuminate\Auth\Passwords\TokenRepositoryInterface getRepository() |
| 17 | * |
| 18 | * @see \Illuminate\Auth\Passwords\PasswordBrokerManager |
| 19 | * @see \Illuminate\Auth\Passwords\PasswordBroker |
| 20 | * @internal |
| 21 | */ |
| 22 | class Password extends Facade |
| 23 | { |
| 24 | /** |
| 25 | * Constant representing a successfully sent reminder. |
| 26 | * |
| 27 | * @var string |
| 28 | */ |
| 29 | const RESET_LINK_SENT = PasswordBroker::RESET_LINK_SENT; |
| 30 | /** |
| 31 | * Constant representing a successfully reset password. |
| 32 | * |
| 33 | * @var string |
| 34 | */ |
| 35 | const PASSWORD_RESET = PasswordBroker::PASSWORD_RESET; |
| 36 | /** |
| 37 | * Constant representing the user not found response. |
| 38 | * |
| 39 | * @var string |
| 40 | */ |
| 41 | const INVALID_USER = PasswordBroker::INVALID_USER; |
| 42 | /** |
| 43 | * Constant representing an invalid token. |
| 44 | * |
| 45 | * @var string |
| 46 | */ |
| 47 | const INVALID_TOKEN = PasswordBroker::INVALID_TOKEN; |
| 48 | /** |
| 49 | * Constant representing a throttled reset attempt. |
| 50 | * |
| 51 | * @var string |
| 52 | */ |
| 53 | const RESET_THROTTLED = PasswordBroker::RESET_THROTTLED; |
| 54 | /** |
| 55 | * Get the registered name of the component. |
| 56 | * |
| 57 | * @return string |
| 58 | */ |
| 59 | protected static function getFacadeAccessor() |
| 60 | { |
| 61 | return 'auth.password'; |
| 62 | } |
| 63 | } |
| 64 |