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