Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Support\Facades;
4
 
5
use Illuminate\Contracts\Auth\PasswordBroker;
6
 
7
/**
8
 * @method static \Illuminate\Contracts\Auth\PasswordBroker broker(string|null $name = null)
9
 * @method static string getDefaultDriver()
10
 * @method static void setDefaultDriver(string $name)
11
 * @method static string sendResetLink(array $credentials, \Closure|null $callback = null)
12
 * @method static mixed reset(array $credentials, \Closure $callback)
13
 * @method static \Illuminate\Contracts\Auth\CanResetPassword|null getUser(array $credentials)
14
 * @method static string createToken(\Illuminate\Contracts\Auth\CanResetPassword $user)
15
 * @method static void deleteToken(\Illuminate\Contracts\Auth\CanResetPassword $user)
16
 * @method static bool tokenExists(\Illuminate\Contracts\Auth\CanResetPassword $user, string $token)
17
 * @method static \Illuminate\Auth\Passwords\TokenRepositoryInterface getRepository()
18
 *
19
 * @see \Illuminate\Auth\Passwords\PasswordBrokerManager
20
 * @see \Illuminate\Auth\Passwords\PasswordBroker
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
    /**
32
     * Constant representing a successfully reset password.
33
     *
34
     * @var string
35
     */
36
    const PASSWORD_RESET = PasswordBroker::PASSWORD_RESET;
37
 
38
    /**
39
     * Constant representing the user not found response.
40
     *
41
     * @var string
42
     */
43
    const INVALID_USER = PasswordBroker::INVALID_USER;
44
 
45
    /**
46
     * Constant representing an invalid token.
47
     *
48
     * @var string
49
     */
50
    const INVALID_TOKEN = PasswordBroker::INVALID_TOKEN;
51
 
52
    /**
53
     * Constant representing a throttled reset attempt.
54
     *
55
     * @var string
56
     */
57
    const RESET_THROTTLED = PasswordBroker::RESET_THROTTLED;
58
 
59
    /**
60
     * Get the registered name of the component.
61
     *
62
     * @return string
63
     */
64
    protected static function getFacadeAccessor()
65
    {
66
        return 'auth.password';
67
    }
68
}