hasMany(AdminUserToken::class); } public function notifyVerifyCodeForForgotten($code) { $useQueue = system_setting('base.use_queue', true); if ($useQueue) { $this->notify(new AdminForgottenNotification($this, $code)); } else { $this->notifyNow(new AdminForgottenNotification($this, $code)); } } /** * Get the identifier that will be stored in the subject claim of the JWT. * * @return mixed */ public function getJWTIdentifier() { return $this->getKey(); } /** * Return a key value array, containing any custom claims to be added to the JWT. * * @return array */ public function getJWTCustomClaims() { return []; } }