| 1 | <?php |
||
| 9 | class Identity implements Authenticatable, Arrayable |
||
| 10 | { |
||
| 11 | public $name; |
||
| 12 | public $email; |
||
| 13 | public $avatar; |
||
| 14 | |||
| 15 | public static function fromSocialite(User $user) |
||
| 25 | |||
| 26 | public static function restore(array $details) |
||
| 36 | |||
| 37 | public function getAuthIdentifier() |
||
| 41 | |||
| 42 | public function getAuthIdentifierName() |
||
| 46 | |||
| 47 | public function getAuthPassword() |
||
| 50 | |||
| 51 | public function getRememberToken() |
||
| 54 | |||
| 55 | public function getRememberTokenName() |
||
| 58 | |||
| 59 | public function setRememberToken($value) |
||
| 62 | |||
| 63 | public function toArray() |
||
| 71 | } |
||
| 72 |