expo-community / expo-server-sdk-python

Exponent Server SDK
MIT License
146 stars 42 forks source link

How to send Personal Access Token #46

Closed brycnguyen closed 3 years ago

brycnguyen commented 3 years ago

Using this library, is there a way for me to send the personal access token for push notifications?

https://blog.expo.dev/four-new-security-features-to-protect-your-expo-apps-cdf3e409a1b0

Thanks!

brycnguyen commented 3 years ago

I realized I can create a session request object with the Authorization Header containing my access token, so this is already supported in the library.

https://github.com/expo-community/expo-server-sdk-python/blob/master/exponent_server_sdk/__init__.py#L280

Thanks!