Commit Graph
10 Commits
Author SHA1 Message Date
Ankit Desai f1220b8e0b remove hyper from apns2 2020-06-23 18:38:47 -04:00
Sergey Petrov fde28abb04 Add type annotations (PEP 484) (#25) 2019-07-29 01:26:15 +03:00
shintonik fbcf36f955 Use only one JWT token per connection (#80)
This fixes #76 where you a TooManyProviderTokenUpdates if you send
notifications to multiple topics over one connection.

As Apple states here https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/establishing_a_token-based_connection_to_apns#2943374
one connection shall use only one single JWT token which should be
refreshed no more than once every 20 minutes and no less than once every
60 minutes.
2019-05-23 02:01:31 +03:00
Pavel Valach d071ec1864 Always use TLS with HTTP20Connection 2017-12-18 13:36:38 +03:00
Jordi Sesmero a3244df06d add proxy support to connection (#46) 2017-11-28 13:23:55 +03:00
SearchDream bbe8528acf Fix _is_expired_token issues (#47) 2017-11-17 15:59:33 +03:00
Sergey Petrov 653b37054d Improve code quality 2017-05-23 00:45:08 +03:00
Sergey Petrov 3b6e1dcc4c Added capability to pass in cert-key tuple instead of chain certificate file to the APNs client
Close #26
2017-05-09 22:57:34 +03:00
Peter Justin 7783520dc3 load certificate with password
Readded because the last commit removed this.
2017-05-09 15:22:08 +03:00
Masa ae835a195f Enable JWT authentication in addition to old certificate authentication (#40) 2017-05-03 23:15:26 +03:00