SoundCloud OAuth client ID from your app registration.
SoundCloud OAuth client secret from your app registration.
OptionalgetOptional function that returns the current user's access token.
When provided, the returned client automatically passes the token to
authenticated API calls (e.g. /me, /me/likes). Return undefined to
fall back to client-credentials (public API calls only).
Can be async — useful when reading from cookies, headers, or a session store.
OptionalonCalled after every SoundCloud API request with structured telemetry. Useful for logging, metrics, and tracing.
OptionalonCalled on each retry attempt before the request is retried.
Configuration for createSoundCloudServerClient.