edamov / pushok

PHP client for Apple Push Notification Service (APNs) - Send push notifications to iOS using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key)
MIT License
368 stars 119 forks source link

Update README.md #125

Closed crewsycrews closed 3 years ago

crewsycrews commented 3 years ago

Add info about AuthTokens staling as described in docs

To ensure security, APNs requires new tokens to be generated periodically. A new token has an updated issued at claim key, whose value indicates the time the token was generated. If the timestamp for token issue is not within the last hour, APNs rejects subsequent push messages, returning an ExpiredProviderToken (403) error.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 82.031% when pulling e353ca6b3e04f063982b24b1264ae826d75511a1 on crewsycrews:update-README.md into 9078598d9b57ee9fcde4d139b987a3b9670a33b8 on edamov:master.