mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 13:09:44 +05:30
Remove jti replication from JWT Header
This commit is contained in:
parent
7f0879b8b4
commit
f5e910e6ec
@ -44,7 +44,7 @@ trait AccessTokenTrait
|
|||||||
{
|
{
|
||||||
return (new Builder())
|
return (new Builder())
|
||||||
->setAudience($this->getClient()->getIdentifier())
|
->setAudience($this->getClient()->getIdentifier())
|
||||||
->setId($this->getIdentifier(), true)
|
->setId($this->getIdentifier())
|
||||||
->setIssuedAt(time())
|
->setIssuedAt(time())
|
||||||
->setNotBefore(time())
|
->setNotBefore(time())
|
||||||
->setExpiration($this->getExpiryDateTime()->getTimestamp())
|
->setExpiration($this->getExpiryDateTime()->getTimestamp())
|
||||||
|
Loading…
Reference in New Issue
Block a user