pub async fn app(
pool: PgPool,
token_key: Option<DeviceKey>,
limits: Limits,
) -> Result<Router, ApiError>Expand description
The service, within limits (its campaigns’ devices, and how often
clients may try to sign in), signing tokens with token_key, or with
the key kept in its database if None.