Skip to main content

get_vapid_public_key

Function get_vapid_public_key 

Source
pub async fn get_vapid_public_key(
    __arg0: State<App>,
    __arg1: Auth,
) -> Result<Json<Value>, (StatusCode, String)>
Expand description

GET /api/notification/vapid-public-key

Returns the VAPID public key for this tenant. Clients need this to subscribe to push notifications. If VAPID keys don’t exist yet, they will be auto-generated.