Configures API service callbacks (token expiry handler, unauthorized handler, toast settings).
Service configuration with optional callbacks.
Configures API service callbacks (token expiry handler, unauthorized handler, toast settings).