1 <?php namespace BookStack\Auth;
3 use BookStack\Interfaces\Loggable;
8 * @property string $driver
10 * @package BookStack\Auth
12 class SocialAccount extends Model implements Loggable
15 protected $fillable = ['user_id', 'driver', 'driver_id', 'timestamps'];
17 public function user()
19 return $this->belongsTo(User::class);
25 public function logDescriptor(): string
27 return "{$this->driver}; {$this->user->logDescriptor()}";