blob: ac4ed886d1b74e4e919490ee9ec59e3149e92059 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Illuminate\Contracts\Auth;
4
5interface Authenticatable
6{
7 /**
8 * Get the name of the unique identifier for the user.
9 *
10 * @return string
11 */
12 public function getAuthIdentifierName();
13
14 /**
15 * Get the unique identifier for the user.
16 *
17 * @return mixed
18 */
19 public function getAuthIdentifier();
20
21 /**
22 * Get the password for the user.
23 *
24 * @return string
25 */
26 public function getAuthPassword();
27
28 /**
29 * Get the token value for the "remember me" session.
30 *
31 * @return string
32 */
33 public function getRememberToken();
34
35 /**
36 * Set the token value for the "remember me" session.
37 *
38 * @param string $value
39 * @return void
40 */
41 public function setRememberToken($value);
42
43 /**
44 * Get the column name for the "remember me" token.
45 *
46 * @return string
47 */
48 public function getRememberTokenName();
49}