audience === '') { return Config::get('jwt.audience') ?? ''; } return $this->audience; } /** * Get the expected issuer for validation. * * Returns the constructor-provided issuer when non-empty; otherwise falls back to `jwt.issuer` config. * * @return string The issuer value to enforce. */ public function getIssuer(): string { if ($this->issuer === '') { return Config::get('jwt.issuer') ?? ''; } return $this->issuer; } }