olucurious / PyFCM

Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)
http://olucurious.github.io/PyFCM/
MIT License
803 stars 206 forks source link

what is the role of private and public key #300

Closed hemanth-reckonsys closed 2 months ago

hemanth-reckonsys commented 2 years ago

as doc say

Optional vapidKey?: string The public server key is provided to push services. It is used to authenticate the push subscribers to receive push messages only from sending servers that hold the corresponding private key.

still I am not using the private and public key and working fine so some can explain private and public key role?