mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 13:09:44 +05:30
Merge pull request #1031 from Sephster/remove-jti-from-header
Remove JTI Claim From JWT Header
This commit is contained in:
commit
4b1c9ed503
@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
### Removed
|
### Removed
|
||||||
- `enableCodeExchangeProof` flag (PR #938)
|
- `enableCodeExchangeProof` flag (PR #938)
|
||||||
- Support for PHP 7.0 (PR #1014)
|
- Support for PHP 7.0 (PR #1014)
|
||||||
|
- Remove JTI claim from JWT header (PR #)
|
||||||
|
|
||||||
## [7.4.0] - released 2019-05-05
|
## [7.4.0] - released 2019-05-05
|
||||||
|
|
||||||
|
@ -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