1 <?php namespace BookStack\Auth;
3 use BookStack\Interfaces\Loggable;
8 * @property string $driver
11 class SocialAccount extends Model implements Loggable
14 protected $fillable = ['user_id', 'driver', 'driver_id', 'timestamps'];
16 public function user()
18 return $this->belongsTo(User::class);
24 public function logDescriptor(): string
26 return "{$this->driver}; {$this->user->logDescriptor()}";