<?php

namespace SugarCalendarBookings\Integrations\Zoom;

use SugarCalendarBookings\Integrations\OAuthRelay\AbstractOAuthConnection;

/**
 * Zoom OAuth Connection.
 *
 * @since 1.4.0
 */
class ZoomOAuthConnection extends AbstractOAuthConnection {

	/**
	 * Refresh buffer in seconds.
	 *
	 * Zoom tokens expire after 1 hour. A 10-minute buffer ensures
	 * the token is refreshed well before expiry, accounting for
	 * network latency through the ProductApi relay.
	 *
	 * @since 1.4.0
	 *
	 * @var int
	 */
	protected int $expiration_buffer = 600;
}
