fix : jwt
Some checks failed
Build Docker / build (push) Has been cancelled

This commit is contained in:
2025-09-13 12:16:13 +08:00
parent a1fdeb9148
commit 48ad2ebd1b
9 changed files with 135 additions and 18 deletions

View File

@@ -46,6 +46,16 @@ final class BaseTokenService implements CheckTokenInterface
$this->getJwt()->hasBlackList($token) && throw new ErrException('token已过期');
}
/**
* @param string $jwt
* @return $this
*/
public function setJwt(string $jwt): self
{
$this->jwt = $jwt;
return $this;
}
/**
* @param UnencryptedToken $token
* @return \Closure