Structsยง
- Extracts subscription data from
TokenInfo
and verifies auth/crypto headers
Functionsยง
- decode_
public_ ๐key Decode a public key string - extract_
public_ ๐key Extract the VAPID public key from the headers - parse_
vapid ๐Parse the authorization header for VAPID data and update metrics - repad_
base64 ๐Add back padding to a base64 string - term_
to_ ๐label - validate_
vapid_ ๐jwt Validate the VAPID JWT token. Specifically, - version_
1_ ๐validation /webpush/v1/
validations - version_
2_ ๐validation /webpush/v2/
validations