Push
| Name | Type |
|---|---|
type | PushType |
token | string |
encryption_public_key | optional string |
encryption_auth_secret | optional string |
encryption_key_id | optional string |
encryption_scheme | PushEncryptionScheme |
| Name | Type |
|---|---|
One of: subscription | |
web | WebPush |
push | Push |
Push
| Name | Type |
|---|---|
type | PushType |
token | string |
encryption_public_key | optional string |
encryption_auth_secret | optional string |
encryption_key_id | optional string |
encryption_scheme | PushEncryptionScheme |
PushEncryptionScheme
| Name | Value |
|---|---|
PUSH_ENCRYPTION_UNKNOWN | 0 |
P256_HKDF_SHA256_AES256GCM_V1 | 1 |
PushType
| Name | Value |
|---|---|
UNKNOWN | 0 |
WEB | 1 |
IOS | 2 |
ANDROID_FCM | 3 |
WebPush
| Name | Type |
|---|---|
endpoint | string |
p256dh | string |
auth | string |