We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eecfbcb commit 064c497Copy full SHA for 064c497
apns2/credentials.py
@@ -87,7 +87,7 @@ def _get_or_create_topic_token(self) -> str:
87
}
88
jwt_token = jwt.encode(token_dict, self.__auth_key,
89
algorithm=self.__encryption_algorithm,
90
- headers=headers).decode('ascii')
+ headers=headers)
91
92
# Cache JWT token for later use. One JWT token per connection.
93
# https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/establishing_a_token-based_connection_to_apns
setup.py
@@ -8,7 +8,7 @@
8
packages=['apns2'],
9
install_requires=[
10
'hyper>=0.7',
11
- 'PyJWT>=1.4.0,<2.0.0',
+ 'PyJWT>=2.0.0',
12
'cryptography>=1.7.2',
13
],
14
extras_require={
0 commit comments