'bool', 'expires_at' => 'datetime', ]; /** * Indicates if the model should be timestamped. * * @var bool */ public $timestamps = false; /** * The "type" of the primary key ID. * * @var string */ protected $keyType = 'string'; /** * Get the client that owns the authentication code. * * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function client() { return $this->belongsTo(Passport::clientModel()); } }