benecaster_license_unauthorized_strike
Fires when a license check receives an unauthorized (401) response for a show and counts it as a strike, before the strike threshold that triggers benecaster_license_reconnect_required is reached. Useful as an early-warning signal — a strike indicates a connection that is about to fail rather than one that already has.
Strikes are at least 12 hours apart. A 401 that arrives within 12 hours of the show’s last counted strike is the same strike again: the count does not change and this hook does not fire.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$strikes |
int |
— | Current consecutive strike count for this show. |
$show_uuid |
string |
— | UUID of the show being validated. |
Need this built rather than just documented? See our services →